Skip to content

leha-games/django-project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django project template

TODO

  • Add log rotate config

How to start a new project

  1. Django must be installed on your system;
  2. Switch to directory where you want to locate your new project;
  3. Run this command (replace project_name with you know):
    django-admin.py startproject --template=https://github.com/grialexey/django-project-template/archive/master.zip --name=Vagrantfile,installation.md,deployment.md,vars.yml,create_development_database.sql,DJANGO_DATABASE_USER_NAME,DJANGO_DATABASE_NAME django_project_name
  4. Switch to project directory;
    cd project_name
  5. Edit README.md file. Add your project description in it;
  6. Create repository:
    git init
    git add .
    git add --force deployment/environments/development/
    git add --force deployment/hosts/development
    git commit -m 'Initial commit'
  7. Force add deployment/credentials/development/ and deployment/hosts/development in your repository;
  8. Push project in remote repository (github, bitbucket or another);
  9. Follow instructions in docs/installation.md file to start development;