The new (and improved) RCOS website
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Steven vanZyl ffd6708291 Merge branch 'master' of github.com:rcos/observatory-new il y a 1 jour
.circleci changed circleci docker image il y a 3 mois
.github Add pull request template il y a 4 mois
migrations News annoucements il y a 1 mois
scripts A few fixes il y a 3 mois
src small conditional change il y a 2 semaines
static Workaround for #38 il y a 4 mois
templates News annoucements il y a 1 mois
.dockerignore Fix CircleCI again il y a 3 mois
.gitignore Mentors can see meeting codes il y a 4 mois
CONTRIBUTING.md Update some docs il y a 4 mois
Cargo.toml Update rust-embed to 5.1.0 il y a 3 mois
DEPLOYING.md Update the README il y a 4 mois
Dockerfile Fixed Dockerfile il y a 3 mois
LICENSE Users lists il y a 6 mois
README.md Update readme with Rustup update il y a 1 jour
Rocket.toml Fix some bugs il y a 4 semaines
diesel.toml Diesel setup and basic schemas il y a 6 mois
logo.svg optimized logo svg il y a 2 mois

README.md

Observatory-new

CircleCI

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 CONTRIBUTING.md.

Major Dependencies

Building

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). This can be set for the Observatory-new repository folder specifically by running

rustup override set nightly

in cloned folder. As of Rustup 1.20.0 this will automatically install the additional tools and can be updated with rustup update.

After that it’s as simple as

$ cargo build

And to run do

$ cargo run

Deploying

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.

Documentation

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