A web application that makes it easy for students to keep track of current events at campus Polacksbacken. The application is running a django backend and uses Tailwind for frontend purposes.
- Install Nodejs and npm
- Install Python 3, at least version 3.6 or up.
- Install the following python packages:
- python3-venv
- python3-dev
- build-essentials
- libpq-dev
- Clone the repository.
- Run
source ./source_me.shto create a virtual environment. - Run
pip install --upgrade pipto make sure that pip is running the latest version - Run
pip install -r dev-requirements.txt - Use
cd srcto enter the website directory. - Run
./manage.py migrateto initialize the database. - Run
./manage.py createsuperuserto create an admin user. - Open another terminal and run
./manage.py tailwind start
During development, you can run a test web server using ./manage.py runserver.
IMPORTANT! When running commands you must be in the virtual environment (a.k.a. source source_me.sh)
You might need to restart your server and/or tailwind during initial setup in order for it to work correctly.