-
Notifications
You must be signed in to change notification settings - Fork 0
Development scripts
Roni Juntunen edited this page Dec 14, 2019
·
1 revision
Development scripts main purpose is to run application without Docker to make debugging easier. All development scripts may be found from /dev_scripts folder. Before using any of these scripts please run npm install in backend and frontend folders.
-
clean_start.sh
- This is very powerful script. It resets docker machine wide and then starts server normally. USE WITH GREAT CAUTION
-
start_dev.sh
- This scripts starts database inside Docker container and frontend without Docker in the background using GNU screen. Screen must be installed before using this tool. Console output from frontend may be accessed with command
screen -r frontand database console may be accessed with commandscreen -r db
- This scripts starts database inside Docker container and frontend without Docker in the background using GNU screen. Screen must be installed before using this tool. Console output from frontend may be accessed with command
-
stop_dev.sh
- Stops all development servers started by start_dev.sh
-
start_backend.sh
- Starts backend without container as a root since normal users can't open server on port 80. Log may be accessed using
screen -r backendcommand.
- Starts backend without container as a root since normal users can't open server on port 80. Log may be accessed using
-
stop_backend.sh
- Stops development backend servers.
-
curl_posts.sh
- Has many good curl examples for api testing. Use file as a model for your own curl tests.
-
test_backend.sh
- More information about this script may be found in Backend test site
.vscode folder has full debugging configuration for Visual Studio Code IDE. With default configurations full graphical debugger may be used for both frontend and backend. Actually even python script debugging is fully configured in the folder.