Skip to content

python-final-project-10-19/final_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Book Share Pro

Application Summary

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

Quick Start

  1. Clone this repository.
  2. In the terminal, run cd final_project
  3. Run touch .env
  4. In the .env file, paste the appropriate environment variables (ask a team member).
  5. In a separate terminal instance, run psql
  6. Run CREATE DATABASE book_share;
  7. Back in the main terminal instance, run pipenv shell
  8. Run pipenv install
  9. Run ./manage.py makemigrations
  10. Run ./manage.py migrate
  11. Run ./manage.py createsuperuser and follow the steps.
  12. Run ./manage.py runserver
  13. In your browser, navigate to localhost:8000/admin/ and login with superuser credentials.
  14. Under Sites click on Sites
  15. In the upper right, click on Add site +
  16. In the domain name field, type localhost:8000. In the Display Name field, type Books Share. Click Save. On the top left, navigate back to Home
  17. On the admin console Home page, under Social Accounts, click on Social Applications. On this page, click on Add social application +.
  18. Under the provider dropdown, choose Facebook.
  19. In the Name field, type Books Share.
  20. In the Client id and Secret key fields, type in the App ID and App Secret from this app on https://developers.facebook.com/
  21. In the Sites field, select localhost:8000 and click on the right arrow so it appears under Chosen sites. Then click Save.
  22. Logout from the admin console.
  23. Navigate to localhost:8000.
  24. Login using FB Oauth.

Database Schema

TBD

Deployment

Application is deployed with Heroku. Click here to view our deployed site.

Resources

Authors:

  • Andrew Baik
  • Ben Hurst
  • Liz Mahoney test test
  • Roman Kireev


Verion 1.0.0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •