Skip to content

benlawson/Photoshare-Skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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.

About

Skeleton application used as boilerplate for a CS460 assignment (Intro to Databases)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published