Skip to content

Club Coding is a website for learning programming, mainly with a focus on Rust.

License

Notifications You must be signed in to change notification settings

AxelNilsson/club_coding

Repository files navigation

Club Coding

Club Coding is a website for learning programming, mainly with a focus on Rust and built in Rust.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

What things you need to install the software and how to install them

Diesel Client
MySQL Client
MySQL Server
Redis Server

Installing

You need to create a Rocket.toml file before running the application. You also need to create a .env file for Diesel.

diesel migration run

and then

cargo run

Then browse to http://<yourhost>:<yourport>

Running the tests

Simply run

cargo test

And coding style tests

The whole project is styled according to the Rust Formatter.

Deployment

You need to create a Rocket.toml file before running the application. You want to use the [production] environment for deploying the application live. See more on the official rocket page. You also need to create a .env file for Diesel.

diesel migration run

and then

cargo run --release

Built With

  • Rocket - The web framework used
  • Diesel - Database Object-Relational Mapping.

Authors

License

This project is licensed under the Apache License 2.0 - see the LICENSE.md file for details

About

Club Coding is a website for learning programming, mainly with a focus on Rust.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages