-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Spinning up a dev environment for testing the front-end locks your machine into using the Docker container's IP address. We have the following scripts for npm:
art@aziraphale:~/git/covizu/data$ npm run
'Lifecycle scripts included in [email protected]:
test
NODE_ENV='TEST' HTTP_PORT='8001' DATA_FOLDER='data_test' node server.js
start
node --max_old_space_size=16384 server.js
available via `npm run-script`:
start-db1
DBNUMBER=1 node server.js
start-db2
DBNUMBER=2 node server.js
dev
nodemon server.js --ignore 'js/*.js'
delete-users
node mongodb_scripts/deleteUsers.js
create-users
node mongodb_scripts/createUsers.js
update-db1
DBNUMBER=1 node --max_old_space_size=16384 mongodb_scripts/updateDatabase.js
update-db2
DBNUMBER=2 node --max_old_space_size=16384 mongodb_scripts/updateDatabase.jsWe really need to add a stop script to exit things gracefully.
Metadata
Metadata
Assignees
Labels
No labels