Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Latest commit

 

History

History

kubrick

Vote and compete with your friends to discover who knows more about the Academy Awards

About this folder

kubrick is our REST API built on Django REST Framework

How to run this module

We're using pipenv for this project, make sure to install it.

1 - Clone the project and navigate to the folder:

git clone https://github.com/lab-quatro/aposcar.git
cd aposcar\modules\kubrick

2 - Create the virtual environment and install the dependencies

pipenv install

3 - Activate the virtual environment

pipenv shell

4 - Create a .env file in the module root with the following content (this settings are for development mode):

DJANGO_ENVIRONMENT=dev
SECRET_KEY="your django secret key"

5 - Execute the initial schema migrations

python manage.py migrate

6 - Execute the initial data migrations

python manage.py loaddata initial_data/*

7 - Create your user

python manage.py createsuperuser

8 - Start the development server

python manage.py runserver

Made with 💜 by LabQuatro