Skip to content

Setup from scratch

Here we will got through each step of the setup of the ecodev ecosystem, so that you may install it from scratch, either on your machine or "in production" (e.g. a remote Virtual Machine (VM)).

Dev setup

Requirements

To work locally, you need docker installed and

  • A database. We typically work with PostgreSQL, but any SQL database (e.g. SQLite) will suffice.
  • an admin interface to handle the db (you could work without it, but it is such a time saviour in our experience. We adopt here pgAdmin)
  • An application πŸ˜‹: this is the raison d'Γͺtre of ecodev-app! So instead of creating your own one from scratch, start from ecodev-app as explained below.

How to

You should then have a locally working ecodev-app plugged into it's sql db! Congrats! πŸ₯°

Prod setup

Requirements

To work on a remote VM, you need

  • a VM (duh πŸ˜…)
  • A reverse-proxy: our choice goes for Traefik.
  • a db: our choice goes for PostgreSQL
  • an admin interface to handle the db (you could work without it, but it is such a time saviour in our experience. We adopt here pgAdmin)
  • monitoring tools. As discussed elsewhere in this documentation, we favored simplicity over the popular prometheus/grafana stack: else we advocate

  • An application πŸ˜‹: this is the raison d'Γͺtre of ecodev-app!

How to

You should have a working, secured application on the cloud! 😍. To update it, simply run git pull when needs be (and do not forget to rebuild the image first if you updated the dependencies since last build! 😊)