Skip to content

danielebra/online-movie-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

online-movie-store

41025 ISD

Online Deployment

Netlify Status

Live Website

Local Deployment

Backend

Getting started

  1. Install Python 3.6
  2. Install Django

Environment

  1. Navigate into the directory:

    cd back-end/
  2. Setup virtual environment:

    virtualenv -p python3 env_oms_be
    source /env_oms_be/bin/activate
  3. Install Packages:

    pip install -r requirements.txt

Django

Django requires the creation of migration files.

  1. Make new migrations (creates or updates the SQL commands):

    python manage.py makemigrations
  2. Apply migrations:

    python manage.py migrate

Run it

  1. Run the server on http://localhost:8000/:
    python manage.py runserver

Frontend

  1. Navigate into the directory:

    cd front-end/
  2. Install required modules

    npm install
  3. Run the server on http://localhost:8080/

    npm run start