-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #107 from siliataider/main
rebase
- Loading branch information
Showing
4 changed files
with
37 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
1 | ||
1 | ||
1 | ||
1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,23 @@ | ||
#!/bin/bash | ||
|
||
# Install python requirements | ||
pip install -r backAgent/requirements.txt | ||
|
||
# Start Nginx reverse proxy container | ||
cp ./nginx.conf /tmp/ | ||
sudo docker run --name citymanager-nginx-container --network host -v /tmp/nginx.conf:/etc/nginx/nginx.conf:ro --rm nginx & | ||
|
||
# To kill all dockers : docker stop $(docker ps -a -q) | ||
# Install python requirements | ||
cd backAgent | ||
pip install -r requirements.txt | ||
python main.py & | ||
|
||
# Start the java backend | ||
cd ../BackSimulation | ||
mvn clean package | ||
java -jar target/BackSimulation-0.0.1-SNAPSHOT.jar & | ||
|
||
# Start the react front-end | ||
cd front | ||
cd ../front | ||
npm install | ||
npm run dev & | ||
|
||
echo "READY !" | ||
# Done | ||
echo "READY !" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.