Skip to content

Latest commit

 

History

History
executable file
·
66 lines (50 loc) · 1.21 KB

README.md

File metadata and controls

executable file
·
66 lines (50 loc) · 1.21 KB

decouverto-website

The main website of Découverto organization with the walks and the presentation of books...

You have to install mongodb to run this server.

Configuration

You will have to create a .env file to configurate the mail service:

MAIL_SERVICE=gmail
MAIL_AUTH_USER[email protected]
MAIL_AUTH_PASS=password

or

MAIL_SERVICE=ovh
MAIL_AUTH_USER[email protected]
MAIL_AUTH_PASS=password

You can use a lot of service as described there. I use another GMail account to send me the data each week.

Config for replica server

Just add this line

IS_REPLICA=true

MacOS

In 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]"