Skip to content
This repository has been archived by the owner on Jul 6, 2022. It is now read-only.

Latest commit

 

History

History
41 lines (27 loc) · 790 Bytes

README.md

File metadata and controls

41 lines (27 loc) · 790 Bytes

Manifeste !

Development

Start the development stack

Create a .env file following the format:

POSTGRES_USER=user
POSTGRES_PASSWORD=password
POSTGRES_DB=manifeste

SES_SMTP_USER=xxx
SES_SMTP_PASS=xxxxxxx
SES_SMTP_HOST=email-smtp.xxxx.amazonaws.com
SES_SMTP_PORT=587

Then you can start the stack:

docker-compose build && docker-compose up

Migrate the databases

Once the PostgreSQL container is running, you can migrate the database:

export POSTGRESQL_URL="postgres://user:password@localhost:5432/manifeste?sslmode=disable"
migrate -database ${POSTGRESQL_URL} -path db/migrations up

(migrate tool is required).

Then you're ready to go!

License

MIT