Step untuk repository backend
-
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
- Windows
- Activate virtual environment
- Windows
$ env\Scripts\activate
- Mac
$ env/bin/activate
- Windows
- Create virtual environment
- 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