In this tutorial, we will guide you step-by-step on how to install StockazNG on Ubuntu Server latest.
Before you get started, you need to have the following requirements:
The first thing to do on a new server is to update and upgrade the system.
sudo apt-get update
sudo apt-get upgrade
Next, we need to install some required dependencies for StockazNG to work.
sudo apt-get install python-dev python-pip python-virtualenv python-setuptools python-mysqldb python-memcache
Now, we need to clone the StockazNG repository from the Dev GitLab.
git clone https://dev.sigpipe.me/dashie/StockazNG.git
It is always best practice to create a separate virtual environment for each application.
virtualenv StockazNG
We should now activate the virtual environment created in the previous step.
source ./StockazNG/bin/activate
Within the virtual environment, we need to install the required Python modules using pip.
pip install -r requirements.txt
We now need to configure StockazNG by editing the config.py
file with our own configurations.
nano /path/to/StockazNG/config.py
Finally, we can run StockazNG using gunicorn.
gunicorn -w 4 stockaz:app
Congratulations! You have successfully installed StockazNG on Ubuntu Server latest.
Note: This tutorial may vary depending on your system configurations.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!