Skip to content

Commit

Permalink
adding different sh scripts for prod and dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Cybergenik committed Jan 18, 2022
1 parent 460b79d commit 6d9bb5f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 7 additions & 0 deletions prod_run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

sudo apt install libnspr4 libatk1.0-0 libatk-bridge2.0-0 libdrm2 libxkbcommon0 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 libasound2 libatspi2.0-0 libwebkit2gtk-4.0-dev\
&& export PYTHONPATH=$PYTHONPATH:./bot \
&& pip install -r requirements.txt \
&& python3.9 -m playwright install chromium \
&& python3.9 bot/runemaster.py &
3 changes: 1 addition & 2 deletions run.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash

sudo apt install libnspr4 libatk1.0-0 libatk-bridge2.0-0 libdrm2 libxkbcommon0 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 libasound2 libatspi2.0-0 libwebkit2gtk-4.0-dev\
&& export PYTHONPATH=$PYTHONPATH:./bot \
export PYTHONPATH=$PYTHONPATH:./bot \
&& pip install -r requirements.txt \
&& python3 -m playwright install chromium \
&& python3 bot/runemaster.py

0 comments on commit 6d9bb5f

Please sign in to comment.