-
Notifications
You must be signed in to change notification settings - Fork 3
1. Database Part
-
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
-
Follow instructions here https://tutorial-extensions.djangogirls.org/en/optional_postgresql_installation/
-
Just install PSQL and the PSQL python package at the bottom of the page.
-
You shouldn't need to actually make a database though, just set up PSQL. I don't think you have to make an account.
***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
-
User
-
Name
-
Username
-
Password
-
-
Event
-
Title
-
Date
-
Time start
-
Time end
-