Project template for tendenci 6 and 7
CSS JavaScript HTML Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

This is the template for tendenci 7.1.

To start a new tendenci project with this template (replace <project_name> with your project name): startproject --template= <project_name>

Alright, if you're new to Tendenci and want to set it up on your local computer (Mac or Ubuntu), read on.

Once the project template is pulled down, you can follow these steps to set it up on your local (those are pretty much the standard processes like any other django project):

1) Install the requirements
cd <project_name>
pip install -r requirements/dev.txt    # ideally run it in a virtual environment with virtualenv and virtualenvwrapper
2) Update conf/ for the three settings

i) DATABASES - first create your database with postgis enabled (The psql command to enable postgis is: CREATE EXTENSION postgis). Then replace <DB_NAME>, <DB_USER> and <DB_PASS> with your database name, user and password, respectively.

ii) SECRET_KEY and SITE_SETTINGS_KEY - each should be a random string with the length of 32. Here, we provide a little help to authmatically generate random strings and update SECRET_KEY and SITE_SETTINGS_KEY with this command:

curl | bash
3) Run the deploy script to create the database tables (Sit back and relax - the django database migration might take a while.)
4) Populate some default data
python load_creative_defaults
5) Make sure the execute permission is removed from the media/ directory
chmod -R -x+X media
6) To create a superuser login, run this command and follow with the prompt
python createsuperuser
7) Run it!
python runserver