Frontend and api server for Academy.
Install uv and run:
uv syncInstall pre-commit hook to ensure files are formatted correctly:
uv run pre-commit installThen apply the database migrations:
uv run ./manage.py migrateTo start the server locally run:
uv run ./manage.py runserverSome views uses Svelte components, which needs to be compiled. To do this, run the following:
cd svelte
./build_components- Create a Facebook app: https://developers.facebook.com/apps/ (Disable uBlock Origin)
- Open the Graph API explorer: https://developers.facebook.com/tools/explorer
- Generate a User Token with permission
pages_manage_posts - Run
./get_facebook_access_tokenwith the required arguments. It will output a Page Access Token that will never expire.