Several modifications were made to the configuration files found in app/config/env
.
Include a .env
in main directory for GMAIL settings
GMAIL_USERNAME=username
GMAIL_PASSWORD=password
GMAIL_EMAIL=some@email.com
To begin the installation:
- Comment out
command: "./node_modules/.bin/sequelize db:migrate"
in thedocker-compose.yml
- Make sure no
test.db.connection.js
file is located in theapp/config/env/
folder - Comment out
CMD ["npm", "start"]
in theDockerfile
- Run
docker-compose up --build --remove-orphans
- In a new terminal run
docker-compose run app bash
and runnpm start
at the bash prompt - Fill in the required database information that you will use in the
docker-compose.yml
- Run
npm start
again no errors should be seen about magoware.settings table missing` - Shutdown the
docker-compose
withctrl+c
and copy thetmp/db.connection.js
toconfig/env/
adjust your settings - Uncomment
command: "./node_modules/.bin/sequelize db:migrate"
in thedocker-compose.yml
- Uncomment out
CMD ["npm", "start"]
in theDockerfile
- Run
docker-compose up --build --remove-orphans
again - Migrations will occur, some errors will be seen
- Shutdown the
docker-compose
withctrl+c
- Comment out
command: "./node_modules/.bin/sequelize db:migrate"
in thedocker-compose.yml
- Run
docker-compose up --build --remove-orphans
again or with the-d
as detached - Login as
superadmin
or create a new account
Access site http://localhost:80/admin
- superadmin/superadmin.
Adminer http://localhost:8080/
.