-
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.
urnresolver (#13), EticaAI/forum#94: Python Falcon works
- Loading branch information
Showing
5 changed files
with
29 additions
and
9 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# https://www.phusionpassenger.com/library/config/apache/reference/#passengerpython | ||
# https://stackoverflow.com/questions/2842336/how-can-i-tell-phusion-passenger-which-python-to-use | ||
# https://help.dreamhost.com/hc/en-us/articles/216635268-Passenger-troubleshooting | ||
# PassengerPython /home/urneticaai/venv/bin/python3 # This would point to python (that is python2.7) | ||
PassengerPython /home/urneticaai/opt/python-3.9.4/bin/python3.9 | ||
PassengerFriendlyErrorPages on |
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 |
---|---|---|
|
@@ -11,11 +11,12 @@ | |
|
||
|
||
```bash | ||
cd urn-data/urn-resolver-http || exit | ||
# cd urn-data/urn-resolver-http || exit | ||
|
||
rsync --archive --verbose passenger_wsgi.py [email protected]:/home/urneticaai/urn.etica.ai/passenger_wsgi.py | ||
rsync --archive --verbose things.py [email protected]:/home/urneticaai/urn.etica.ai/things.py | ||
# rsync --archive --verbose passenger_wsgi.py [email protected]:/home/urneticaai/urn.etica.ai/passenger_wsgi.py | ||
# rsync --archive --verbose things.py [email protected]:/home/urneticaai/urn.etica.ai/things.py | ||
|
||
rsync --archive --verbose urn-data/urn-resolver-http/ [email protected]:/home/urneticaai/urn.etica.ai/ | ||
|
||
``` | ||
|
||
|
@@ -27,8 +28,13 @@ source venv/bin/activate | |
(venv) $ touch /home/urneticaai/tmp/restart.txt | ||
(venv) $ tail logs/urn.etica.ai/http/error.log | ||
|
||
## Logs | ||
tail -f /home/urneticaai/logs/urn.etica.ai/http/error.log | ||
tail -f /home/urneticaai/logs/urn.etica.ai/http/access.log | ||
|
||
# @see https://help.dreamhost.com/hc/en-us/articles/215317698-Django-troubleshooting | ||
(venv) $ pkill python3 | ||
(venv) $ touch /home/urneticaai/urn.etica.ai/passenger_wsgi.py | ||
(venv) $ touch /home/urneticaai/tmp/restart.txt | ||
(venv) $ touch /home/urneticaai/urn.etica.ai/tmp/restart.txt | ||
``` |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
https://github.com/EticaAI/HXL-Data-Science-file-formats/issues/13 |
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