Skip to content

1. Database Part

Jonathan Ziesmer edited this page Nov 6, 2018 · 3 revisions
  • In database directory

  • Using PyCharm Pro 2018.2.4 (can get for free from JetBrains using your southern email)

  • Using Python 3.6.5

    • Make sure it's added to your PATH variable. You'll know you did it right if you can run "python" and "pip" in terminal.
  • Using PostgreSQL

    ***I've never used a database with git before, so I'm not even sure if its possible for you to access a database I make through the repository. This will probably be an issue I need to figure out before we're able to start hosting the database on the Raspberry Pi.

    • I made a db called "calendar_db" with user "calendar_app" and password "password"

Any time you want to do anything with the database, you'll first have to navigate to /CPTR_318_project/database/ in the terminal and run "virtenv\Scripts\activate". The first time you do that, run "pip install django" to install the django library

Database structure:

  1. User

    • Name

    • Username

    • Password

  2. Event

    • Title

    • Date

    • Time start

    • Time end

Clone this wiki locally