WIP - Update refstack quickstart guide

This is still work in progress.

Change-Id: I86dd34941d40e7824dcfda47a22ae85852efa048
This commit is contained in:
Martin Kopec 2021-02-02 10:00:58 +00:00
parent 94b1fa594f
commit a49a962beb
1 changed files with 9 additions and 7 deletions

View File

@ -3,18 +3,20 @@ RefStack Quickstart
You can use docker for `one-click setup <run_in_docker.html>`__ or follow
step-by-step instructions below. These instructions have been tested on
Ubuntu 14 and 16 LTS.
Ubuntu 20.04 LTS.
Install API dependencies
^^^^^^^^^^^^^^^^^^^^^^^^
``sudo apt-get install git python-dev python-virtualenv libssl-dev build-essential libffi-dev``
sudo apt-get install python3-venv
``sudo apt-get install mysql-server python-mysqldb``
``sudo apt-get install git python3-dev python3-venv libssl-dev build-essential libffi-dev``
``sudo apt-get install mysql-server python3-mysqldb``
Install RefStack UI dependencies
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
``curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -``
``curl -sL https://deb.nodesource.com/setup_15.x | sudo -E bash -``
``curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -``
@ -62,7 +64,7 @@ Clone the repository
**Create virtual environment:**
``virtualenv .venv --system-site-package``
``python3 -m venv .venv --system-site-package``
**Source to virtual environment:**
@ -76,11 +78,11 @@ Clone the repository
# App server
``pip install gunicorn==18``
``pip install gunicorn==20.0.4``
# python mysql connector
``pip install PyMySQL>=0.6.2,!=0.6.4``
``pip install "PyMySQL>=0.6.2,!=0.6.4"``
Install RefStack application
^^^^^^^^^^^^^^^^^^^^^^^^^^^^