- Book Share Pro is a facebook integrated web community where users can post their personally owned books. When books are posted, facebook friends can view and request to borrow the book through Book Share Pro application.
- Every users are required to login using Facebook credentials, and can only view and interact with their facebook friends within the application.
- Clone this repository.
- In the terminal, run
cd final_project - Run
touch .env - In the .env file, paste the appropriate environment variables (ask a team member).
- In a separate terminal instance, run
psql - Run
CREATE DATABASE book_share; - Back in the main terminal instance, run
pipenv shell - Run
pipenv install - Run
./manage.py makemigrations - Run
./manage.py migrate - Run
./manage.py createsuperuserand follow the steps. - Run
./manage.py runserver - In your browser, navigate to
localhost:8000/admin/and login with superuser credentials. - Under
Sitesclick onSites - In the upper right, click on
Add site + - In the domain name field, type
localhost:8000. In the Display Name field, typeBooks Share. ClickSave. On the top left, navigate back toHome - On the admin console Home page, under
Social Accounts, click onSocial Applications. On this page, click onAdd social application +. - Under the provider dropdown, choose
Facebook. - In the
Namefield, typeBooks Share. - In the
Client idandSecret keyfields, type in the App ID and App Secret from this app onhttps://developers.facebook.com/ - In the
Sitesfield, selectlocalhost:8000and click on the right arrow so it appears underChosen sites. Then clickSave. - Logout from the admin console.
- Navigate to
localhost:8000. - Login using FB Oauth.
TBD
Application is deployed with Heroku. Click here to view our deployed site.
- Andrew Baik
- Ben Hurst
- Liz Mahoney test test
- Roman Kireev
Verion 1.0.0