This app allows students to check their scores stored in a google sheets spreadsheet, without giving direct access to it.
python -m venv venvsource venv/bin/activatepip install -r requirements.txtpython manage.py createsuperuserpython manage.py collectstaticpython manage.py runserver
- Install requirements
- Git
sudo apt install git - Docker
- Get docker compose
sudo apt install docker-compose - Enable docker
sudo systemctl enable docker - Start docker
sudo systemctl start docker - Add user to docker group
sudo usermod -aG docker $USER
- Get docker compose
- Git
- Clone the repository
git clone https://github.com/tgrants/grade-check.git - Download and place your
credentials.jsonin this directory - Set environment variables
- Copy template
cp .env.example .env - Edit it
nano .env- if
DJANGO_SECRET_KEYis left empty, it will get generated when the app is run for the first time
- if
- Copy template
- Build and start container
docker-compose up --build- Add
-dflag to run in background
- Add
- Open container shell
docker exec -it <web container> sh- Apply migrations
python manage.py migrate - Create super user
python manage.py createsuperuser
- Apply migrations
Contributions are welcome.
For more information see CONTRIBUTING.md.
This project is licensed under the terms of the MIT license. See the LICENSE file for more information.