Be sure you have the following installed on your development machine:
1. git
2. python >= 3.10.x
3. pip >= 22.2.x
4. virtualenv >= 20.16.3
Clone the repository:
git clone https://github.com/adityanithariya/PredicHub.git
cd PredicHub
Create a virtual environment and activate it:
virtualenv env
.\env\Scripts\activate
Then install the dependencies:
pip install -r requirements.txt
Once pip
has finished installing dependencies, you're ready to go!
Run makemigrations
and migrate
for making all the required tables in the database:
python manage.py makemigrations
python manage.py migrate
Run the django development server using manage.py
:
python manage.py runserver
Congrats, you have successfully run the development server!
Now navigate here for the website.
Create a superuser:
python manage.py createsuperuser
Enter username
and password
of created superuser here to log into admin panel, where you can manage the database.