Skip to content

erickthon/fullstack_developer_capstone

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Application Setup

This repository contains a Django application. Follow the steps below to prepare the environment and run the application.

Prerequisites

  • Python 3.x installed on your system
  • pip package manager

Setup Instructions

  1. Install virtualenv if you haven't already:

    pip install virtualenv
  2. Create a virtual environment named djangoenv:

    virtualenv djangoenv
  3. Activate the virtual environment. Use the appropriate command based on your operating system:

    • Linux/MacOS:
      source djangoenv/bin/activate
    • Windows:
      djangoenv\Scripts\activate
  4. Install the required dependencies from the requirements.txt file:

    python3 -m pip install -U -r requirements.txt
  5. Run database migrations to create necessary database schema:

    python3 manage.py makemigrations
    python3 manage.py migrate
  6. Start the Django development server:

    python3 manage.py runserver
  7. Access the application in your web browser at http://127.0.0.1:8000/

Notes

  • Make sure to replace python3 with the appropriate command if your Python executable has a different name.
  • Adjust the virtual environment activation command according to your operating system.
  • Ensure that the necessary database configurations are set up in the Django settings file (settings.py).

About

fullstack_developer_capstone

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 38.4%
  • Python 31.6%
  • HTML 15.1%
  • CSS 13.0%
  • Dockerfile 1.5%
  • Shell 0.4%