Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

Latest commit

 

History

History
132 lines (78 loc) · 1.85 KB

README.md

File metadata and controls

132 lines (78 loc) · 1.85 KB

Honours Project Badge License

A multi - screen viewing system for Formula One races,
created for the research at the University of Dundee .


Setup


  1. Clone this repository


  2. Create a python virtual environment

    python3 -m venv HonoursProject

  3. Activate the virtual environment

    Windows

    HonoursProject\Scripts\activate

    Linux

    ./HonoursProject/bin/activate

  4. Enter the folder

    cd HonoursProject

  5. Install the project requirements for the backend

    pip install -r requirements.txt

  6. Navigate to the server folder

    cd server

  7. Migrate the server

    py manage.py migrate

  8. Create a superuser

    py manage.py createsuperuser

    Give it a Username and Password


  9. Run the server

    py manage.py runserver

  10. Open a new terminal and navigate out of
    the server folder into the frontend folder


  11. Install the requirements

    npm install

  12. Run the frontend

    npm start

  13. Navigate to the following urls in your browser:

    Frontend

    localhost:3000

    Backend

    localhost:8000/admin