install docs
parent
8b0bc7a675
commit
1102402bde
38
README.md
38
README.md
|
@ -3,6 +3,44 @@ This is a fork of the SatNOGS DB. It is available here:
|
|||
|
||||
* http://db.satnogs.spacecruft.org
|
||||
|
||||
# Install SatNOGS-DB
|
||||
Set up for Debian Buster.
|
||||
|
||||
## Install docs
|
||||
|
||||
* https://docs.satnogs.org/projects/satnogs-db/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
|
||||
# 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-db from git
|
||||
```
|
||||
git clone https://spacecruft.org/spacecruft/satnogs-db.git
|
||||
cd satnogs-db
|
||||
mkvirtualenv satnogs-db -a .
|
||||
cp env-dist .env
|
||||
vim .env
|
||||
npm install
|
||||
./node_modules/.bin/gulp
|
||||
```
|
||||
|
||||
See below for upstream README.
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue