# Getting Started
- First clone the repository from Github and switch to the new directory:
$ git clone [email protected]:neslisahgamze/seating.git
$ cd ticket
-
Activate the virtualenv for your project.
-
Install project dependencies:
$ pip install -r requirements.txt
-
Then simply apply the migrations:
$ python manage.py migrate
-
You can now run the development server:
$ python manage.py runserver
-
You can create a superuser:
$ python manage.py createsuperuser
-
You can load example data:
$ python manage.py loaddata < api/fixtures/category.json
$ python manage.py loaddata < api/fixtures/event.json
$ python manage.py loaddata < api/fixtures/seat.json
$ python manage.py loaddata < api/fixtures/section.json
The projects' Makefiles should provide the following commands, if applicable:
-
Building your app.
-
Up the containers
-
Run the program.
-
Kill all container.
-
Run all migrations.
-
Run makemigrations for the app.
-
Run all tests.
NOTE: Swagger is available at {{your_base_url}}/api/docs/