Setup
$ git clone https://github.com/roamgom/manuscript_flask.git
$ pip install -r requirements.txt
Deploy
It use fabric to deploy, to deploy
edit value in deploy.json
{
"REPO_URL": "git@github.com:roamgom/manuscript_flask.git",
"PROJECT_NAME": "manuscript",
"REMOTE_HOST": [HOST_DOMAIN],
"REMOTE_HOST_SSH": [IP_ADDRESS],
"REMOTE_USER": [USERNAME]
}
Need to install Pytorch exclusively by using ssh to server. paste proper version of pytorch depending on OS from This site
fab new_server
fab deploy
DNS(Optional)
edit IP address on DNS from Cloudflare