Giter Site home page Giter Site logo

arishrehmankhan / django-mdn-locallibrary Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 140 KB

This repo contains the code of django locallibrary project which is developed in the MDN docs django tutorial (https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django)

Python 77.94% CSS 0.15% HTML 21.92%
python django mdn-docs local-library

django-mdn-locallibrary's Introduction

made-with-python

django-MDN-locallibrary

This repo contains the code of django locallibrary project which is used in the MDN docs django tutorial (https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django)

About Repository

I made this repository when I was learning django from MDN. I have committed changes after every chapter and also completed all the challenges of the tutorial. Feel free to refer the code if you are having problems in completing the challenges.

You can also pull this code to you local computer by following these steps given below.

Technology Stack

  • Django (Python)
  • SQLite as DB

Requirements

  • Any operating system (i.e. Linux, Windows, MacOS X)
  • A little knowledge of Django. Don't worry if you are new to it, you just need knack to learn.
  • Any IDE (i.e. VSCode, etc)

Setting up the project

  • Create a virtual environment in recently created directory and activate it:
python3 -m venv env
source env/bin/activate

You can also use another virtual environments for python which you prefer.

  • Clone the repository and enter to the repository:
git clone https://github.com/arishrehmankhan/django-MDN-locallibrary.git
cd django-MDN-locallibrary
  • Next, install the dependencies using pip:
pip install -r requirements.txt 
  • Once the dependencies is installed, migrate your database.
python3 manage.py migrate
python3 manage.py makemigrations
  • Then create a superuser account for Django:
python manage.py createsuperuser
  • Finally, you’re ready to start the development server:
python manage.py runserver

Visit localhost:8000 in your browser to see how it looks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.