A basic Django website for first-time learners.
For detailed documentation, visit: Django Documentation
Create a virtual environment:
python3 -m venv myvenv
Activate the virtual environment:
source myvenv/bin/activate
Install the required packages:
pip install -r requirements.txt
Deactivate the virtual environment when done:
deactivate
Create a virtual environment:
python -m venv myvenv
Activate the virtual environment:
myvenv\Scripts\activate
Install the required packages:
pip install -r requirements.txt
Deactivate the virtual environment when done:
deactivate
Once Django is installed, you need to create the database tables for the application:
Make migrations for your user app:
python manage.py makemigrations user
Apply the migrations to the database:
python manage.py migrate
Before coding, you need to install Django in your virtual environment:
pip install django
To fetch movie data from OMDB, you need to create an API key. Follow these steps:
touch .env
API_KEY=os.getenv('Secret key')
While raing the pull request, add ypur name to the CONTRIBUTORS.md file
While adding packages, update requirements.
pip freeze > requirements.txt
Make sure of the spellcheck.\ Might not work with proxy so try using you cellular network