Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Commit

Permalink
Test python virtual env path (#8)
Browse files Browse the repository at this point in the history
* client setup

* configure client

* fix workflow bug

* fix workflow gradlew no permission error

* add DSN env variable

* fix sentry bug

* fix upload artifact bug

* upload flask and bootstrap

* update flask action file

* set action only when there is a push on main branch

* upload sevice.yml

* update README.md

* update service.yml

* update test cmd

* update action files according to warning

* fix error: source not found in sh

* fix json5 dependency issue

* remove unnecessary dependencies

* update runtime file for heroku

* upload config files for heroku deployment

* update service.yml

* update path to python
  • Loading branch information
GareArc authored Mar 5, 2023
1 parent c0f997e commit 1f021bc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions script/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ cd ./server
pwd
echo "${GREEN}=====> Installing Python dependencies"
python3 -m venv venv
. venv/Scripts/activate
ls venv
. ./venv/Scripts/activate
pip install -r requirements.txt
cd $DIR

Expand All @@ -43,8 +44,8 @@ if [! -f /usr/bin/mongod ]; then
sudo apt-get install -y mongodb-org
sudo apt autoremove && apt clean
mkdir /data /data/db
sudo ufw allow proto tcp from any to any port 27017
sudo ufw enable
# sudo ufw allow proto tcp from any to any port 27017
# sudo ufw enable
sudo systemctl enable mongod
sudo service mongod start

Expand Down

0 comments on commit 1f021bc

Please sign in to comment.