- node 6.x
- npm 3.1x
- mongodb server
- yarn (optional)
npm i
npm run start
Runs at http://localhost:3000
npm run build
(May not be current)
- Execute:
yarn install
- Execute:
yarn server:build && yarn client:build
- Execute:
yarn start-admin
- Go to build folder:
cd build
- Run the application:
ADMIN=true MONGODB_URI=mongodb://localhost/eternity-ready node ./server-bundle.js
. (For Windows users:SET ADMIN=true && SET MONGODB_URI=mongodb://localhost/eternity-ready && node ./server-bundle.js
) - Open the application in the browser: http://localhost:3030/admin/#
- Credentials: Create a user via web app, then edit user in MongoDB toggle
validated
totrue