1
0
Fork 0

install notes

master
debian 2020-01-12 15:34:34 -07:00
parent 06309646d8
commit ad357cd69f
1 changed files with 55 additions and 0 deletions

View File

@ -4,6 +4,61 @@ This is a fork of the SatNOGS Network. It is available here:
* http://network.satnogs.spacecruft.org
# Install SatNOGS-DB
Set up for Debian Buster.
## Install docs
* https://docs.satnogs.org/projects/satnogs-network/en/stable/installation-virtualenv.html
## Install dependencies
```
apt update
apt install -t buster-backports apache2
apt install python3 virtualenvwrapper python3-pip git python3-certbot-apache npm libmariadbclient-dev
# Set up SSL
certbot
```
## Install Virtual Environment
Set up `virtualenvs` (like this? Not in docs).
```
mkdir $HOME/.virtualenvs
echo "export WORKON_HOME=$HOME/.virtualenvs" >> $HOME/.bashrc
echo "source /usr/share/virtualenvwrapper/virtualenvwrapper.sh" >> $HOME/.bashrc
source ~/.bashrc
# Make sure it looks ok:
workon
```
## Install satnogs-network from git
```
git clone https://spacecruft.org/spacecruft/satnogs-network.git
cd satnogs-network
mkvirtualenv --python=/usr/bin/python3 satnogs-network -a .
cp env-dist .env
vim .env
npm install
./node_modules/.bin/gulp
```
## Run satnogs-network
```
cd satnogs-network # if you aren't there already
workon satnogs-network
./bin/djangoctl.sh develop .
```
## Populate satnogs-network
While `./bin/djangoctl.sh develop .` is running above, in another terminal
run:
```
./bin/djangoctl.sh initialize
```
# Upstream
See below for upstream README.
# SatNOGS Network