Thank you for your interest in developing SatNOGS! There are always bugs to file; bugs to fix in code; improvements to be made to the documentation; and more.
The below instructions are for software developers who want to work on satnogs-network code.
When you want to start developing for SatNOGS, you should follow the installation instructions, then…
- Read CONTRIBUTING.md file carefully.
- Fork the upstream repository in GitLab.
- Test the changes and fix any errors by running tox.
- Commit changes to the code!
- When you’re done, push your changes to your fork.
- Issue a merge request on Gitlab.
- Wait to hear from one of the core developers.
If you’re asked to change your commit message or code, you can amend or rebase and then force push.
If you need more Git expertise, a good resource is the Git book.
Third-party static assets are not included in this repository.
The frontend dependencies are managed with
Development tasks like the copying of assets, code linting and tests are managed with
To download third-party static assets:
Install dependencies with
$ npm install
Test and copy the newly downlodaded static assets:
To add new or remove existing third-party static assets:
Install a new dependency:
$ npm install <package>
Uninstall an existing dependency:
$ npm uninstall <package>
Copy the newly downlodaded static assets:
$ ./node_modules/.bin/gulp assets
Simulating station heartbeats¶
Only stations which have been seen by the server in the last hour (by default, can be customized by STATION_HEARTBEAT_TIME) are taken into consideration when scheduling observations. In order to simulate an heartbeat of the stations 7, 23 and 42, the following command can be used:
$ docker-compose exec web django-admin update_station_last_seen 7 23 42