From eb5c0fb446aabcab4d6bc86937db52e22dc66fb5 Mon Sep 17 00:00:00 2001 From: Cedric Spindler Date: Mon, 4 Dec 2023 13:45:52 +0100 Subject: [PATCH] Markdown lint OCD --- remote_instructions.md | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/remote_instructions.md b/remote_instructions.md index 95f2ac1..6ca42c9 100644 --- a/remote_instructions.md +++ b/remote_instructions.md @@ -1,14 +1,17 @@ -# Advanced: Running Remotely on a Server -If you only want to run our your own computer, you can ignore these instructions. +# Advanced: Running Remotely on a Server -The following are instructions for setting up the annotation tool on a remote server i.e. not on a local computer, but in the cloud. Tested with `gunicorn==19.7.1`. -``` +If you only want to run our your own computer, you can ignore these instructions. + +The following are instructions for setting up the annotation tool on a remote server i.e. not on a local computer, but in the cloud. Tested with `gunicorn==19.7.1`. + +```bash # install python wget https://repo.anaconda.com/archive/Anaconda3-2019.03-Linux-x86_64.sh bash Anaconda3-2019.03-Linux-x86_64.sh export PATH=~/anaconda3/bin:$PATH ``` -``` + +```bash # setup websever conda install gunicorn sudo apt-get install nginx @@ -16,7 +19,8 @@ sudo rm /etc/nginx/sites-enabled/default ``` Edit the nginx config file so it contains the info in the brackets. -``` + +```bash sudo nano /etc/nginx/sites-available/example.com """ @@ -31,14 +35,14 @@ server { sudo ln -s /etc/nginx/sites-available/example.com /etc/nginx/sites-enabled/example.com ``` -``` +```bash # download the annotation code from this repo mkdir audio_annotation_app cd audio_annotation_app git clone ... ``` -``` +```bash # run annotation app sudo service nginx restart screen gunicorn application:application