Skip to content

Latest commit

 

History

History
57 lines (42 loc) · 1.35 KB

README.md

File metadata and controls

57 lines (42 loc) · 1.35 KB

Project Name

Welcome to the Learning Log!

Installation

  1. Clone the repository:

    git clone [email protected]:bnjtgly/learning_log.git
  2. Navigate into the project directory:

    cd learning_log
  3. (Optional) Create a virtual environment:

    python3 -m venv env
  4. Activate the virtual environment (skip this step if not using a virtual environment):

    source env/bin/activate
  5. Install dependencies:

    pip install django djangorestframework

How to Run

  1. Ensure you're in the project directory.

  2. Apply migrations:

    python manage.py migrate
  3. (Optional) Create a superuser for accessing the Django admin interface:

    python manage.py createsuperuser
  4. Start the development server:

    python manage.py runserver
  5. Open your web browser and go to http://127.0.0.1:8000/ to view the project. Once the server is running, you can access the Django admin interface by navigating to http://127.0.0.1:8000/admin in your web browser.

Additional Information

  • For production deployment, make sure to set DEBUG = False in settings.py and configure your server accordingly.
  • For more detailed instructions and documentation, refer to the Django Documentation.