Step 1: Clone the repository
$ git clone https://github.com/mominur774/movie-management.git # https
# or
$ git clone git@github.com:mominur774/movie-management.git # ssh
Step 2: Change directory
$ cd movie-management
Step 3: Create and activate virtual environment
# Create
$ python -m venv env
# Activate
$ source env/bin/activate
Step 4: Install the dependencies
$ pip install -r requirements.txt
Step 5: Create
.env
in the root directory
SECRET_KEY=djkfdgfjgj
DEBUG=True
Step 6: Migrate the database and create superuser
$ python manage.py migrate
$ python manage.py createsuperuser
Step 7: Run the server
$ python manage.py runserver
The server will run http://127.0.0.1:8000/