The new (and improved) RCOS website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Steven vanZyl d7592a87bc
Merge pull request #66 from BrianMejia/master
1 tydzień temu
.circleci changed circleci docker image 3 miesięcy temu
.github Add pull request template 4 miesięcy temu
migrations News annoucements 1 miesiąc temu
scripts A few fixes 3 miesięcy temu
src small conditional change 2 tygodni temu
static Workaround for #38 4 miesięcy temu
templates News annoucements 1 miesiąc temu
.dockerignore Fix CircleCI again 3 miesięcy temu
.gitignore Mentors can see meeting codes 4 miesięcy temu Update some docs 4 miesięcy temu
Cargo.toml Update rust-embed to 5.1.0 3 miesięcy temu Update the README 4 miesięcy temu
Dockerfile Fixed Dockerfile 3 miesięcy temu
LICENSE Users lists 6 miesięcy temu Update readme 3 miesięcy temu
Rocket.toml Fix some bugs 3 tygodni temu
diesel.toml Diesel setup and basic schemas 6 miesięcy temu
logo.svg optimized logo svg 2 miesięcy temu



RCOS Observatory logo

Rewrite of the RCOS observatory in a way that hopefully makes a bit more sense. Since we have kinda lost track of what number we’re on at this point I am codenaming this version Observatory-New (I think it’s the 5th version though).

This implementation is intended to be simpler than previous incarnations in order to be easier to maintain in the long run.

It renders pages as plain HTML with minimal JavaScript and uses SQLite as the database backend.

If you would like to help out please read

Major Dependencies


Before anything else make sure that you have the development tools for your system. On Ubuntu/Debian you can install these with:

$ sudo apt install build-essential pkg-config

Then you need to install the openssl development headers. How to do this varies by system but on Ubuntu the package is libssl-dev and should be similar on other distros.

Next install Rust with Rustup. Instructions are on the website linked and is fairly straightforward.

Rocket requires Rust Nightly (for now). However the Rust official tooling does not support the generic nightly target so I suggest using the latest dated version of nightly that the RLS supports. You can check that on this page and can install it with the following command. Make sure to run this in the observatory-new folder.

$ rustup override set nightly-YYYY-MM-DD

You have to manually keep this up to date, so every week or so run the command a gain with a newer date.

After that it’s as simple as

$ cargo build

And to run do

$ cargo run


This is for deploying to a server, not a developer machine

Please read the Deploying instructions for information on how to setup and deploy observatory-new.


The code is primarily documented using in-code doc comments. This can be viewed either by browsing the source or in a web browser with.

$ cargo doc --no-deps --document-private-items --all-features --open