Skip to content

Latest commit

 

History

History
48 lines (41 loc) · 881 Bytes

File metadata and controls

48 lines (41 loc) · 881 Bytes

Viktor Backend

Overview

Step untuk repository backend

Installation

  • Clone this repository (with HTTPS preferred)

    $ git clone https://github.com/ViktorHackfest/server.git

** Run locally in your computer**

  • Activate virtual environment, or create one if none has been created
    • Create virtual environment
      • Windows
        $ python -m venv env
      • Mac
        $ virtualenv env
    • Activate virtual environment
      • Windows
        $ env\Scripts\activate
      • Mac
        $ env/bin/activate
  • Install required packages
    $ pip install -r requirements.txt
  • Migrate if needed
    $ python manage.py migrate
  • Run the server in your local (localhost:8000)
    $ python manage.py runserver