Skip to content

kirtisrivastava22/MovieScreen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MovieScreen

A basic Django website for first-time learners.

Documentation

For detailed documentation, visit: Django Documentation

Prerequisites

  • Install Python. To see which version is compatible, visit: Django FAQ

Setting Up a Virtual Environment

On Linux

  1. Create a virtual environment:

    python3 -m venv myvenv
  2. Activate the virtual environment:

    source myvenv/bin/activate
  3. Install the required packages:

    pip install -r requirements.txt
  4. Deactivate the virtual environment when done:

    deactivate

On Windows

  1. Create a virtual environment:

    python -m venv myvenv
  2. Activate the virtual environment:

    myvenv\Scripts\activate
  3. Install the required packages:

    pip install -r requirements.txt
  4. Deactivate the virtual environment when done:

    deactivate

Running Migrations

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

Installing Django

Before coding, you need to install Django in your virtual environment:

pip install django

Contributing

While raing the pull request, add ypur name to the CONTRIBUTORS.md file

Updating requirements.txt

While adding packages, update requirements.

pip freeze > requirements.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 71.1%
  • HTML 19.3%
  • CSS 9.6%