Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 965 Bytes

README.md

File metadata and controls

39 lines (28 loc) · 965 Bytes

HackOn

Hack On is a prefest hacking and penetration testing event for Elements Culmyca' 19, the annual cultural and technical fest of YMCA University of Science and Technology, Faridabad.

Installation

Use the package manager pip to install requirments.

pip install -r requirements.txt

Usage

You need to set the database variable in hackon/settings.py, preferably you can use elephantsql for online datbase or you can use sqlite as default. Then set the Google_auth key and secret in the same file.

Now, you are just three steps away from running it on localhost.

Run Command

To detect changes in models.py file,

python manage.py makemigrations

To reflect changes in database,

python manage.py migrate

To run the server on the localhost:

python manage.py runserver

(OPTIONAL) To create admin user from terminal:

python manage.py createsuperuser