-
Clone the repository:
git clone https://github.com/your-username/stockStartup.git
-
Navigate to the project directory:
cd path/to/dir/stockStartup
-
Install requirements:
pip install -r requirements.txt
-
Run model migrations:
python manage.py makemigrations python manage.py migrate
-
Create a superuser:
python manage.py createsuperuser
-
Run management commands to populate the database with dummy data:
python manage.py create_users python manage.py create_stocks python manage.py create_trades
-
Start the cron job:
- On Windows, run
cron.bat
- On Linux, run
cron.sh
- On Windows, run
Now, your Django project should be set up and ready to go. You can access the Django admin panel at http://localhost:8000/admin/
and start working with your application.