Giter Site home page Giter Site logo

ozcanyarimdunya / django-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 1.0 1.73 MB

A Django boilerplate project

Home Page: https://ozcanyarimdunya.github.io/django-boilerplate/

License: MIT License

Makefile 6.49% Dockerfile 2.20% Shell 10.76% Python 79.21% HTML 1.34%
django bolierplate

django-boilerplate's Introduction

Django Boilerplate

Build Status Coverage Status

A ready to use django boilerplate project.

Project Django boilerplate
Author Ozcan Yarimdunya
Documentation https://ozcanyarimdunya.github.io/django-boilerplate/
Github https://github.com/ozcanyarimdunya/django-boilerplate/

Features

  • docker support
  • Settings are separated as production and development
  • static, media files and templates set
  • A common app installed with a timestamped BaseModel model

Installation

  1. Clone the repository.

     $ git clone https://github.com/ozcanyarimdunya/django-boilerplate.git myapp
     $ cd myapp/
    
  2. Install the virtualenv package, create new virtual environment and activate it.

     $ pip install virtualenv
     $ virtualenv venv
     $ source venv/bin/activate
    
  3. Install all dependencies and start application on http://127.0.0.1:8000/.

     $ make
    
  4. To access admin panel, create a superuser and visit http://127.0.0.1:8000/admin/.

     $ make superuser
    

Running in docker

  1. Make sure you have installed docker and docker-compose.

     $ make docd
    
  2. To access admin panel, create a superuser in docker and visit http://127.0.0.1:8000/admin/.

     $ docker exec -ti docker_webapp_1 make superuser
    

Documentation

Documentations made by mkdocs. For more info visit here.

    $ make documentation 

django-boilerplate's People

Contributors

dependabot[bot] avatar ozcanyarimdunya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

batukargili

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.