This is a basic boilerplate for quick development and deployment with Django and Heroku.
- Facebook integration middleware and utilities
- Proper Django custom user model setup
- AJAX view endpoint decorator
- Environment-sensitive settings files
- LESS setup for better front-end design
- Pylint and PEP8 code quality check
- Production settings template with Boto, Amazon S3, and Django-Compressor
- Copy the HackBase project folder
- Change the "hackbase" folder name to "projectname"
- Go to "manage.py" and change "hackbase.settings" to "projectname.settings"
- Go to "code_check.sh" and change "hackbase" in line 3 to "projectname"
- Download and install PostgreSQL
- Create a role named "projectname_admin" with password "localhost" and all privileges
- Create a database named "projectname" and assign "projectname_admin" to it
- Download and install pip
- Run command "pip install -r requirements.txt"
- Run command "python manage.py syncdb"
- Run command "python manage.py migrate"
- Run command "python manage.py createsuperuser" to make an admin account on your local environment
- Run command "python manage.py runserver" and the application can be accessed at "localhost:8000"
- Using Heroku, change configuration variable PROJECTNAME_ENV to "PROD"
- Add Facebook and AWS information in "settings_prod.py"
- Create an Amazon S3 bucket called "projectname"
- Using Heroku, change S3_BUCKET_NAME to "projectname"
- Using Heroku, change AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY to corresponding values
- Download http://postgresapp.com/
- Restart your Mac
- Follow the steps at http://postgresapp.com/documentation
- Create the database in 'psql' using: CREATE DATABASE projectname;
- Create a role: CREATE ROLE projectname_admin;

