Skip to content
Photoshare New
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
templates
app.py
app.pyc
htmlsfiles.zip
inden.py
readme.md
requirements.txt
schema.sql
test.py

readme.md

#Installation

##Getting the files

git clone https://github.com/benlawson/Photoshare-Skeleton.git
cd Photoshare-Skeleton/

##Database setup: (for ubuntu) First install MySQL with the following:

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install mysql-server mysql-client
sudo apt-get install libmysqlclient-dev

Then start mysql:

mysql -u root -p

password is None so just press enter.

source ./schema.sql 

Now quit MySQL (enter CTRL-D or \q)

##Application Setup:

virtualenv photoenv
source photoenv/bin/activate #use photoenv/Scripts/activate on windows
pip install -r requirements.txt
python app.py

You can now point your favorite web brower to localhost:5000 to see your web app.

You can’t perform that action at this time.