Browse Source

WIP - Update refstack quickstart guide

This is still work in progress.

Change-Id: I86dd34941d40e7824dcfda47a22ae85852efa048
changes/26/773626/1
Martin Kopec 6 months ago
parent
commit
a49a962beb
  1. 16
      doc/source/refstack.rst

16
doc/source/refstack.rst

@ -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
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Loading…
Cancel
Save