2020-01-12 12:37:59 -07:00
|
|
|
# Fork
|
|
|
|
This is a fork of the SatNOGS Network. It is available here:
|
|
|
|
|
|
|
|
* http://network.satnogs.spacecruft.org
|
|
|
|
|
|
|
|
|
2020-01-12 15:34:34 -07:00
|
|
|
# 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
|
2020-01-12 16:13:12 -07:00
|
|
|
apt install python3 virtualenvwrapper python3-pip git python3-certbot-apache npm default-libmysqlclient-dev libmariadbclient-dev libjpeg-dev sass redis-server
|
2020-01-12 15:34:34 -07:00
|
|
|
# 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
|
2020-01-24 13:12:08 -07:00
|
|
|
# Set values in .env thusly:
|
|
|
|
ALLOWED_HOSTS=network.satnogs.spacecruft.org
|
|
|
|
# and SECRET_KEY to a long random string
|
2020-01-12 15:34:34 -07:00
|
|
|
vim .env
|
|
|
|
npm install
|
|
|
|
./node_modules/.bin/gulp
|
|
|
|
```
|
|
|
|
|
|
|
|
## Run satnogs-network
|
2020-01-12 15:44:47 -07:00
|
|
|
Note, you may have to change the listen IP and port:
|
|
|
|
|
|
|
|
```
|
2020-01-24 13:12:08 -07:00
|
|
|
vim bin/djangoctl.sh
|
2020-01-12 15:44:47 -07:00
|
|
|
# Change:
|
|
|
|
exec "$MANAGE_CMD" runserver 0.0.0.0:8000
|
|
|
|
# To:
|
|
|
|
exec "$MANAGE_CMD" runserver 127.0.0.1:8100
|
|
|
|
```
|
|
|
|
|
|
|
|
Then start the thing:
|
2020-01-12 15:34:34 -07:00
|
|
|
```
|
|
|
|
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:
|
|
|
|
|
|
|
|
```
|
2020-01-24 13:12:08 -07:00
|
|
|
workon satnogs-network
|
2020-01-12 15:34:34 -07:00
|
|
|
./bin/djangoctl.sh initialize
|
|
|
|
```
|
|
|
|
|
|
|
|
# Upstream
|
2020-01-12 12:37:59 -07:00
|
|
|
See below for upstream README.
|
|
|
|
|
2014-10-27 02:41:18 -06:00
|
|
|
# SatNOGS Network
|
|
|
|
|
2015-04-11 11:14:36 -06:00
|
|
|
SatNOGS Network is a web application, implementing a global scheduling and monitoring network for ground station operations.
|
|
|
|
|
2014-10-27 02:41:18 -06:00
|
|
|
It features multiple observers to multiple intrumentation functionality and manages observation jobs and results.
|
2014-08-26 13:36:38 -06:00
|
|
|
|
2017-08-24 12:48:20 -06:00
|
|
|
## Contribute
|
2014-09-09 04:41:19 -06:00
|
|
|
|
2019-09-24 09:52:13 -06:00
|
|
|
Check out the [documentation](https://docs.satnogs.org/projects/satnogs-network/en/stable/) on how to setup a local development instance.
|
2014-09-09 04:41:19 -06:00
|
|
|
|
2017-08-24 12:48:20 -06:00
|
|
|
The main repository lives on [Gitlab](https://gitlab.com/librespacefoundation/satnogs/satnogs-network) and all Merge Request should happen there.
|
2017-08-07 04:12:24 -06:00
|
|
|
|
2016-09-22 09:06:40 -06:00
|
|
|
## Join
|
|
|
|
|
2017-08-24 12:48:20 -06:00
|
|
|
[![irc](https://img.shields.io/badge/Matrix-%23satnogs:matrix.org-blue.svg)](https://riot.im/app/#/room/#satnogs:matrix.org)
|
2016-10-01 22:35:50 -06:00
|
|
|
[![irc](https://img.shields.io/badge/IRC-%23satnogs%20on%20freenode-blue.svg)](https://webchat.freenode.net/?channels=satnogs)
|
2017-08-24 12:48:20 -06:00
|
|
|
[![irc](https://img.shields.io/badge/forum-discourse-blue.svg)](https://community.libre.space/c/satnogs)
|
2016-01-17 13:02:23 -07:00
|
|
|
|
2016-09-22 09:06:40 -06:00
|
|
|
## Current Development
|
2016-01-17 13:02:23 -07:00
|
|
|
|
2017-08-07 04:12:24 -06:00
|
|
|
[![kanban](https://img.shields.io/badge/kanban-board-lightgray.svg)](https://gitlab.com/librespacefoundation/satnogs/satnogs-network/boards/345495)
|
2017-08-24 12:48:20 -06:00
|
|
|
[![build](https://gitlab.com/librespacefoundation/satnogs/satnogs-network/badges/dev/build.svg)](https://gitlab.com/librespacefoundation/satnogs/satnogs-network/commits/dev)
|
2017-08-25 16:21:02 -06:00
|
|
|
[![coverage](https://gitlab.com/librespacefoundation/satnogs/satnogs-network/badges/dev/coverage.svg)](https://gitlab.com/librespacefoundation/satnogs/satnogs-network/commits/dev)
|
2016-01-27 08:56:48 -07:00
|
|
|
|
2015-01-26 10:39:00 -07:00
|
|
|
## License
|
2014-09-09 04:41:19 -06:00
|
|
|
|
2016-10-28 05:49:00 -06:00
|
|
|
[![license](https://img.shields.io/badge/license-AGPL%203.0-6672D8.svg)](LICENSE)
|
2018-07-08 15:47:01 -06:00
|
|
|
[![Libre Space Foundation](https://img.shields.io/badge/%C2%A9%202014--2018-Libre%20Space%20Foundation-6672D8.svg)](https://librespacefoundation.org/)
|