-
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.
- Loading branch information
Showing
3 changed files
with
9 additions
and
5 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
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 |
---|---|---|
|
@@ -49,7 +49,11 @@ | |
- `kinit wilke` | ||
- `./scripts/vm-push.sh` | ||
- `ssh [email protected]` | ||
- `. /opt/bashrc.sh` | ||
- `sudo mv /tmp/embeddings.cc/ /opt/embeddings.cc/` | ||
- `mkdir /opt/embeddings.cc/instance` | ||
- `cp /opt/embeddings.cc/config.py /opt/` | ||
- `ln -s /opt/config.py /opt/embeddings.cc/instance/config.py` | ||
- Anaconda environment | ||
- `conda create --name embeddings` | ||
- **`. /opt/anaconda3/etc/profile.d/conda.sh`** | ||
|
@@ -85,7 +89,7 @@ | |
- `cd /opt/embeddings.cc/` | ||
- `. /opt/anaconda3/etc/profile.d/conda.sh` | ||
- `conda activate embeddings` | ||
- `export FLASK_APP=webservice` | ||
- `export FLASK_APP=webservice_public` | ||
- `export FLASK_RUN_PORT=8443` | ||
- `flask run --host=0.0.0.0` | ||
|
||
|
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 |
---|---|---|
|
@@ -6,4 +6,4 @@ if ! test -f "README.md"; then | |
exit | ||
fi | ||
|
||
rsync -aP --exclude={'.git','instance','__pycache__','.*'} ./ [email protected]:/tmp/embeddings.cc | ||
rsync -aP --exclude={'instance','__pycache__','.*'} ./ [email protected]:/tmp/embeddings.cc |