/VGDSquared

Primary LanguageRustMIT LicenseMIT

Dependencies:

How to

Run

todo (Will be using docker)

Modify back end or build from source

  1. Install PostgreSQL and Rust
  2. Follow steps for Modify Front End
  3. Create a database (You can use pgAdmin4)
  4. Create a .env file at the root, if you are a member of VGDSquared, ask on teams for the file
    1. Add the DATABASE_URL field with your postgres database connection string
    2. Add all the *_CLIENT_ID and *_CLIENT_SECRET fields for Oauth. So far we have GOOGLE and MICROSOFT authentication
  5. Run the migration using sqlx migrate run (use cargo install sqlx-cli if you don't have it)
  6. Use cargo run at the root of the project to run it
  7. Go to https://localhost:3000

Package for docker

todo (Using docker)