The main website of Découverto organization with the walks and the presentation of books...
You have to install mongodb to run this server.
You will have to create a .env file to configurate the mail service:
MAIL_SERVICE=gmail
MAIL_AUTH_USER=example@gmail.com
MAIL_AUTH_PASS=passwordor
MAIL_SERVICE=ovh
MAIL_AUTH_USER=example@decouverto.fr
MAIL_AUTH_PASS=passwordYou can use a lot of service as described there. I use another GMail account to send me the data each week.
Just add this line
IS_REPLICA=trueIn order to start mongodb just use:
brew services start mongodb-community
Build image:
docker build . -t cedced19/decouverto-website
Run image:
docker run -p 49160:8080 -d cedced19/decouverto-website
Get container ID and logs:
docker ps
docker logs <container id>
Run docker container
sudo docker compose -f docker-compose-dev.yml up
Run command in container:
sudo docker exec -it decouverto-website-website-1 sh -c "[your command]"
sudo lsof -ti:8000 | xargs sudo kill