Skip to content

PhilipTzannis/web

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Academy Web Server

Build, Test & Deploy

Frontend and api server for Academy.

Installation

Install Python 3.9 and create a virtual environment:

python -mvenv ~/.cache/venvs/academy-web

Inside the virtual enviroment install pip-tools and install our dependencies with pip-sync:

pip install pip-tools
pip-sync requirements.txt dev-requirements.txt

Install pre-commit hook to ensure files are formatted correctly:

pre-commit install

Then apply the database migrations:

./manage.py migrate

Running

To start the server locally run:

./manage.py runserver

Compiling Svelte components

Some views uses Svelte components, which needs to be compiled. To do this, run the following:

cd svelte
./build_components

Generating Facebook access token

About

Frontend and api for academy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 71.2%
  • HTML 16.3%
  • Svelte 8.5%
  • Shell 1.3%
  • CSS 0.9%
  • JavaScript 0.9%
  • Other 0.9%