Djenesis

Software Screenshot:
Djenesis
Software Details:
Version: 1.1.1
Upload Date: 20 Feb 15
Developer: Concentric Sky
Distribution Type: Freeware
Downloads: 2

Rating: nan/5 (Total Votes: 0)

Djenesis is an app that begets Django projects.

More speficically it is a commandline utility that helps you either inflate a new django projects from a template, or setup a new work environment for an existing project. It can also automatically manage virtualenv environments and requirements.txt in the template or project.

Basic Usage

New Project From Django Core Template

The most basic form of djenesis, you give it a new project name, and it creates a new django project.

 djenesis mynewprojectname

djenesis will create a virtualenv named env-mynewprojectname, install the latest version of django, and run django-admin.py startproject mynewprojectname. All you have to do now is

 env-mynewprojectname/bin/python mynewprojectname/manage.py runserver

And you are running django!

New Project From Project Template

Most people have worked out a particular project structure that they prefer for their django projects. Inflating from a scm repository is a convient way to maintain and manage a project template struture.

 djenesis projectname git+https://github.com/concentricsky/csky-django-template.git

this will inflate a new project based on the template found at the git+url in a directory named projectname This will also create a virtualenv named env-projectname and install any packages found in requirements.txt found at the toplevel directory in the template.

New Work Environment For Existing Project

Often a django project already exists and you need to get a copy up and running to make your changes. Inflate from an existing django project template and initialize a virtualenv based on requirements.txt

djenesis projectname -i git+git@github.com:user/project.git

this will initialize a virtualenv env-projectname and clone the project into projectname, just like without -i but will preserve .git or any other SCM management files. (.hg, .git, .svn)

Arguments

Usage: djenesis [options] [template]

Options:
 -h, --help show this help message and exit
 -e ENV_DIRECTORY, --virtualenv=ENV_DIRECTORY
 Specify the directory to create the virtualenv at
 -n, --no-virtualenv
 Don't create a virtualenv
 -i, --initialize
 Initialize from an existing project (dont remove scm files)

Requirements:

  • Python

Other Software of Developer Concentric Sky

breakdown
breakdown

14 Apr 15

xml2rfc
xml2rfc

4 Jun 15

xml2rfc
xml2rfc

20 Feb 15

Comments to Djenesis

Comments not found
Add Comment
Turn on images!