Skip to content

Commit

Permalink
update for new image
Browse files Browse the repository at this point in the history
  • Loading branch information
Patent2net committed Apr 5, 2023
1 parent 349ee69 commit c2dcf74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions carrot2.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
source /vpy3/bin/activate
python Patent2Net/extensions/Dlcarrot2.py /home/p2n/
chown -R root:ftp /home/p2n/carrot2.zip
chgrp -R ftp /home/p2n/carrot2.zip
unzip -o /home/p2n/carrot2.zip -d /home/p2n/carrot2
rm /home/p2n/carrot2.zip
chgrp -R ftp /home/p2n/carrot2*
chmod -R 755 /home/p2n/carrot2/carrot2-4.2.1/dcs/dcs


Expand Down
3 changes: 1 addition & 2 deletions update.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
source /vpy3/bin/activate
find . -type d -name __pycache__ -exec rm -rf {} \;
pip install -r requirements.txt
pip install -r requirements-release.txt
Expand All @@ -14,8 +15,6 @@ chmod +x update.sh
chmod +x run-all.sh
cp -f dex.sav dex.js
cp -f dex.sav2 dex.json
chown p2n:wheel dex.js
chown p2n:wheel dex.json
rm dex.sav
rm dex.sav2
cp Patent2Net/Carrot2/main.4974e0c5.chunk.js /home/p2n/carrot2/carrot2-4.2.1/dcs/web/frontend/static/js
Expand Down

0 comments on commit c2dcf74

Please sign in to comment.