Instale os helpers
npm install -g sequelize-cli nodemon dotenv
Instale as dependências
npm install
Crie o banco de dados
createdb -h localhost -U postgres gastos_abertos_dev
Efetue as migrations do Sequelize
sequelize db:migrate --env
Inicie a aplicação
npm run start:dev
Crie o banco de dados
$ createdb -h localhost -U postgres gastos_abertos_prod
Configure os arquivos:
$ cp example.env .env
$ $EDITOR .env
$ $EDITOR app/server/schema/config/config.json
Construa o container
$ ./build-container.sh
Inicie o container
$ cp sample-run-container.sh run-container.sh
$ $EDITOR run-container.sh
$ ./run-container.sh