diff --git a/.gitignore b/.gitignore index f8b73e7..d079cd9 100644 --- a/.gitignore +++ b/.gitignore @@ -106,7 +106,7 @@ celerybeat.pid *.sage.py # Environments -.env +#.env .venv env/ venv/ diff --git a/session_server_config/.env b/session_server_config/.env new file mode 100644 index 0000000..939dd58 --- /dev/null +++ b/session_server_config/.env @@ -0,0 +1,8 @@ +PORT=3005 +# nginx external domain +EXTERNAL_DOMAIN="a1.test.sess.graff.tech/s1/" +# coordinator url +COORDINATOR_URL="https://a1.test.coord.graff.tech" +DATABASE_URL="mongodb://127.0.0.1:27017" +DATABASE_NAME="pixel_streaming" +WEBRTC_PORT_BEGIN=14000 \ No newline at end of file diff --git a/start_install_package.py b/start_install_package.py index 0711b9b..b83011f 100644 --- a/start_install_package.py +++ b/start_install_package.py @@ -48,4 +48,6 @@ powershell.run_command_no_dir('npm i -g pm2') # start session server powershell.run_command('pm2 start app.js', session_server_root_dir) +# add to startup + print('\nPackage successfully deployed to: ', deploy_path, '\n') \ No newline at end of file