Skip to content

JavaLearningTool/JavaLearningTool-front-facing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5bd1467 · Jan 30, 2019
Jun 2, 2018
Mar 29, 2018
Jun 16, 2018
Jan 30, 2019
Oct 13, 2018
May 2, 2018
Jan 9, 2019
Jan 11, 2019
Oct 13, 2018
May 2, 2018
Jun 15, 2018
Aug 22, 2018
Nov 22, 2017
Jan 9, 2019
Jun 10, 2018
Apr 14, 2018
May 2, 2018
Jun 10, 2018
Jun 25, 2018
Jun 17, 2018

Repository files navigation

JavaLearningTool-front-facing

This will route traffic for the JavaLearningTool

Database

The exact files and names of collections for the below may vary for your computer. Check the names of your docker images and also the volumes for your docker images (Can be found in the docker-compose.yml or the Dockerfile)

Create backup of server db

// On Server
docker exec javalearningtoolserverutil_mongo_1 mongodump --db JavaLearningTool --out /tmp/backup
// On local machine
scp -r <username>@nova.cc.gatech.edu:~/backup/ <path-to-local-backup>

Restore server db

This may destroy any data currently in the db so make a backup

// On local machine
scp -r <path-to-local-backup> .<username>@nova.cc.gatech.edu:~/backup/
// On server
docker exec javalearningtoolserverutil_mongo_1 mongorestore --db JavaLearningTool /tmp/backup/JavaLearningTool

Extract local db

docker exec javalearningtool_mongo_1 mongodump --db JavaLearningTool --out /tmp/backup

Restore local db from backup

This may destroy any data currently in the db so make a backup

docker exec javalearningtool_mongo_1 mongorestore --db JavaLearningTool /tmp/backup/JavaLearningTool

Testing

Load Test

Need to install artillery.

artillery run tests/load/complete_test.yml

About

This will route traffic for the JavaLearningTool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published