At this moment, the backend is composed of 2 parts:
The following tool must be installed on your computer:
dev.secret.exs which will contains use Mix.Configmix deps.get
mix ecto.create && mix ecto.migrate
# update the config/dev.secret.exs
Install Node.js dependencies with :
cd assets && yarn install && cd ..
Start Phoenix endpoint with:
mix phx.server
The backend can start with some sample data using:
mix dev
Now you can visit localhost:4000 from your browser.
Commands below will be used for both stacks (backend & workers):
| Command | Description |
|---|---|
make docker-build | Build locally a docker image |
make docker-clean | Remove locally the built docker image |
make docker-push-registry | Push the locally built docker image |
make up | Launch both, the back and front end locally http://localhost:4000 |
Some variables are defined to apply a custom setting. These variables are listed here
Content type
Image
Digest
Size
73.9 MB
Last updated
over 5 years ago
docker pull mediacloudai/ex_backend