Skip to content

tyc85/hackaba

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-proto

Features

Usage

Name your project first:

mkvirtualenv project_name

Install Django:

pip install django

To create the project, run the following command:

django-admin.py startproject --template=https://github.com/privgrey/django-proto/archive/master.zip --extension=py,rst,html project_name

Set Environment Variable

Set Django settings file before bootstraping:

export DJANGO_SETTINGS_MODULE=project_name.settings.dev

Add custom environment variables to your postactivate script

Edit your virtualenvs/hackaba/bin/postactivate:

export DJANGO_SETTINGS_MODULE=hackaba.settings.dev

Install Python packages, Enter the 'requirements' folder:

pip install -r base.txt

Setup the postgresql database

After Setting up settings/dev.py:

sudo -u postgres psql
create USER hackaba with password 'hackaba';
create DATABASE hackaba with owner hackaba;

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published