Skip to content
/ luke Public
forked from vinco/luke

Simple scripts and templates for scaffolding a basic Django project

License

Notifications You must be signed in to change notification settings

gGonz/luke

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Luke

Simple scripts and templates for scaffolding a basic Django project

Prerequisites

Usage

  1. Download the repository's tarball and extract it to your project's directory

    $ mkdir myproject
    $ cd myproject
    $ wget https://github.com/vinco/luke/archive/master.tar.gz -O - | tar -xz --strip 1
  2. Set your project's name in evironments.json, fabfile.py and provision/provision.sh

    # myproject/environments.json
    {
        "vagrant": {
            "django_settings": "myproject.settings.devel",
        }
    }
    # myproject/fabfile.py
    ...
    # urun('createdb luke -l en_US.UTF-8 -E UTF8 -T template0')
    urun('createdb myproject -l en_US.UTF-8 -E UTF8 -T template0')
    ... 
    # urun('dropdb luke')
    urun('dropdb myproject')
    ...
    # myproject/provision/provision.sh
    ...
    # PROJECT_NAME=luke
    PROJECT_NAME=myproject
    ...
  3. Create the virtual machine

    $ vagrant up
    $ fab environment:vagrant bootstrap
  4. Init your repository

    $ git init

About

Simple scripts and templates for scaffolding a basic Django project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 62.9%
  • Python 37.1%