• Stars
    star
    835
  • Rank 54,605 (Top 2 %)
  • Language
    HTML
  • License
    MIT License
  • Created over 10 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Django project skeleton that is modern and cutting edge.

{% comment "This comment section will be deleted in the generated project" %}

Edge

Build Status

A Fantastic Django project starter.

Features

  • Ready Bootstrap-themed pages
  • User Registration/Sign up
  • Better Security with 12-Factor recommendations
  • Logging/Debugging Helpers
  • Works on Python 3 and Django 2
  • Formatted with Black

More information at: http://django-edge.readthedocs.org/ Contribute using: Edge Dev Tools โœจ ๐Ÿฐ โœจ

Quick start:

Before creating a new project from this template, you need to create a fresh virtual environment and install Django:

  1. $ python -m venv ./myenv
  2. $ source ./myenv/bin/activate.fish (use the appropriate activate script based on your shell)
  3. $ python -m pip install -U pip django

Create your new edgy django project:

  1. $ django-admin.py startproject --template=https://github.com/arocks/edge/archive/master.zip --extension=py,md,html,env my_proj
  2. $ cd my_proj
  3. $ pip install -r requirements.txt
  4. $ cd src
  5. $ cp my_proj/settings/local.sample.env my_proj/settings/local.env
  6. $ python manage.py migrate
  7. $ python manage.py createsuperuser
  8. $ python manage.py runserver

Recommended Installation (with pipenv)

  1. $ pip install --user --upgrade pipenv (Install pipenv system-wide or locally but outside a virtualenv)

  2. $ mkdir my_proj (choose a better name than my_proj for your project)

  3. $ django-admin.py startproject --template=https://github.com/arocks/edge/archive/master.zip --extension=py,md,html,env my_proj .

    If you get an SSL error, then download the zip file and mention it after --template=, like this: django-admin.py startproject --template=~/Downloads/master.zip --extension=py,md,html,env my_proj .

  4. $ pipenv install --dev

  5. $ pipenv shell

  6. $ cp src/my_proj/settings/local.sample.env src/my_proj/settings/local.env (or rename this file)

  7. $ cd src

  8. $ python manage.py migrate

  9. $ python manage.py createsuperuser

  10. $ python manage.py runserver

If you need to keep requirements.txt updated then run

pipenv lock --requirements > requirements/base.txt
echo "-r base.txt" > requirements/development.txt
pipenv lock --requirements --dev >> requirements/development.txt

Rest of this README will be copied to the generated project.


{% endcomment %}

{{ project_name }}

{{ project_name }} is a short description. It is built with Python using the Django Web Framework.

This project has the following basic apps:

  • App1 (short desc)
  • App2 (short desc)
  • App3 (short desc)

Installation

Quick start

To set up a development environment quickly, first install Python 3. It comes with virtualenv built-in. So create a virtual env by:

1. `$ python3 -m venv {{ project_name }}`
2. `$ . {{ project_name }}/bin/activate`

Install all dependencies:

pip install -r requirements.txt

Run migrations:

python manage.py migrate

Detailed instructions

Take a look at the docs for more information.

More Repositories

1

qblog

Sample blog project created for Django 1.7 screencast
Python
64
star
2

steel-rumors

Finished Source Code of each Steel Rumors videos tutorial (See branches for each episode)
Python
46
star
3

django-blog-screencast

Source code created with "Building a blog in 30 mins with Django (Screencast)" post
Python
36
star
4

channels-example

Code accompanying "Django Channels" blog post and screencast
JavaScript
33
star
5

puray

Pure Python Raytracer
Python
19
star
6

markdown-pullquote

Markdown plugin for pull quotes which can be used in a Pelican site
Python
19
star
7

punchscript

A programming language made up of Rajinikanth punch dialogues
JavaScript
18
star
8

steel-rumors-01

This repo has been discontinued. Please check the first branch of "steel-rumors" repo for updates.
Python
16
star
9

django-blog-html5

Source code created with "Building a blog in 30 mins with Django (Screencast)" post
Python
12
star
10

django3-asgi-perf

Python
11
star
11

arunrocks

ArunRocks.com source moved to jekyll
CSS
9
star
12

Fruit-Catch

A simple pyglet game to catch falling fruit
Python
7
star
13

tiny

URL Shortener build with TDD
Python
6
star
14

minimal-hugo

A minimal site developed in hugo
HTML
5
star
15

async-await-examples

Examples of async and await Python keywords with asyncio library
Python
4
star
16

raytracer-pycon-india-2020

Slides of "How I built a ray tracer in pure Python" from my talk at Pycon India 2020
JavaScript
3
star
17

jazz_reader

No frills news reader
Python
1
star
18

fruitcatch

A simple pyglet game presented in pycon india 2009
Python
1
star
19

django-app-in-a-file

A "Coming Soon" page written in one file with Django
Python
1
star
20

sr-goodies

Steel Rumors designer content
JavaScript
1
star
21

edge-devtools

Development tools for edge Django template https://github.com/arocks/edge
Python
1
star
22

heroku-example

Example of a Django project ready for deploying to Heroku
Python
1
star