An application that provides a list of items within a variety of categories an use Oauth uthentication system. This have been develop as part of Udacity Nanodegree Program.
Once you have all the requirements setup:
Note: Before seting up the environment, create a new project
in the google console and Facebook for developers to get your Product
credentials required for the use of Oauth. Also database named item-catalog
is created by default with a user:pass ubuntu:123456
.
- Clone this repository.
- Run
git clone https://github.com/oldani/Item-Catalog.git
in the console
cd
into the repository and runvagrant up && vagrant ssh
- Once vm have been created and you have ssh
cd /vagrant
- Run
source env/bin/activate
- Run
pip install -r requirements.txt
- Edit the
env.example
file, replacing all the env vars example values with real ones. Once done rename the file to.env
. - Run
python manage.py db upgrade
, this will setup your db tables.
- Once everything setup run
python manage.py runserver
- Go to
http://localhost:5000/
.