Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.
/ SudoCode Public archive
forked from darktohka/SudoCode

Airplane website for SudoCode.

Notifications You must be signed in to change notification settings

SudoCodeRed/SudoCode

 
 

Repository files navigation

SudoCode

This repository contains the code for the SudoCode airplane website, built using the Django web framework. To initiate the project:

python3 -m pip install -r requirements.txt
python3 -OO manage.py makemigrations
python3 -OO manage.py migrate
python3 -OO manage.py migrate --run-syncdb

After this, run

python3 -OO manage.py airports

to fill the database with the latest airports.

Then, run:

python3 -OO manage.py runserver

to start the site in DEBUG mode.

To run the server in shell mode, run:

python3 -OO manage.py shell

Production

In production, we will be using the "game" username. We will be using the nginx server software, and a custom systemd service called "sudocode" will be set up to run our gunicorn workers.

Use the start.sh, stop.sh and restart.sh files to manage the site service.

Demo

Demo available at https://sudocode.loonatic.pro

About

Airplane website for SudoCode.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 50.5%
  • CSS 28.7%
  • HTML 15.6%
  • Shell 5.2%