shangsunset / joyceful

personal photography site

Home Page:http://joyceful.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

To Setup Project:

Postgres

brew update
brew doctor
brew install postgresql

#install lunchy
gem install lunchy
mkdir -p ~/Library/LaunchAgents
cp /usr/local/Cellar/postgresql/{version NO.}/homebrew.mxcl.postgresql.plist ~/Library/LaunchAgents/
#start postgres
lunchy start postgres
#stop
lunchy stop postgres

Postgres configuration

#superuser
createdb `whoami`
createuser joyceful
#go to postgres command line
psql 
CREATE DATABASE joycefuldb OWNER joyceful;
#add password to role
\password joyceful

Migrations

./manage.py syncdb
./manage.py schemamigration photography --initial
./manage.py migrate photography

About

personal photography site

http://joyceful.com


Languages

Language:JavaScript 54.4%Language:CSS 37.7%Language:HTML 5.2%Language:Python 2.7%