WIP - Update refstack quickstart guide
This is still work in progress. Change-Id: I86dd34941d40e7824dcfda47a22ae85852efa048
This commit is contained in:
parent
94b1fa594f
commit
a49a962beb
|
@ -3,18 +3,20 @@ RefStack Quickstart
|
||||||
|
|
||||||
You can use docker for `one-click setup <run_in_docker.html>`__ or follow
|
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
|
step-by-step instructions below. These instructions have been tested on
|
||||||
Ubuntu 14 and 16 LTS.
|
Ubuntu 20.04 LTS.
|
||||||
|
|
||||||
Install API dependencies
|
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
|
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 -``
|
``curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -``
|
||||||
|
|
||||||
|
@ -62,7 +64,7 @@ Clone the repository
|
||||||
|
|
||||||
**Create virtual environment:**
|
**Create virtual environment:**
|
||||||
|
|
||||||
``virtualenv .venv --system-site-package``
|
``python3 -m venv .venv --system-site-package``
|
||||||
|
|
||||||
**Source to virtual environment:**
|
**Source to virtual environment:**
|
||||||
|
|
||||||
|
@ -76,11 +78,11 @@ Clone the repository
|
||||||
|
|
||||||
# App server
|
# App server
|
||||||
|
|
||||||
``pip install gunicorn==18``
|
``pip install gunicorn==20.0.4``
|
||||||
|
|
||||||
# python mysql connector
|
# python mysql connector
|
||||||
|
|
||||||
``pip install PyMySQL>=0.6.2,!=0.6.4``
|
``pip install "PyMySQL>=0.6.2,!=0.6.4"``
|
||||||
|
|
||||||
Install RefStack application
|
Install RefStack application
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
Loading…
Reference in New Issue