-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenbsd.sh
More file actions
executable file
·22 lines (18 loc) · 949 Bytes
/
openbsd.sh
File metadata and controls
executable file
·22 lines (18 loc) · 949 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env bash
cd /home/louis/devel/GitHub/Safecast/rt-ca-map
rsync -av -e ssh --exclude "__pycache__" --exclude "deploy.sh" --exclude "constants.py" \
* openbsd1:/home/louis/application
#rsync -av -e ssh --exclude '__pycache__' --exclude 'deploy.sh' \
# . grendel.local:/usr/local/www/rt-ca-map/maps_application/maps/templates
#
#cd /home/louis/devel/GitHub/Safecast/rt-ca-map/maps_application/maps/templates
#rsync -av -e ssh --exclude '__pycache__' --exclude 'deploy.sh' \
# . grendel.local:/usr/local/www/rt-ca-map/maps_application/maps/templates
#
#cd /home/louis/devel/GitHub/Safecast/rt-ca-map/static
#rsync -av -e ssh --exclude '__pycache__' --exclude 'misc' --exclude 'radiation-map' \
# . grendel.local:/usr/local/www/rt-ca-map/static/
# To test the application, ssh to the server in that directory
# Activate the venv
# Execute $ uvicorn maps.asgi:app
# Test with curl or httpie to the server from local or the ssh session.