This program is intended to seed the test database that students are provided in order to complete WGU's C195 Software II course.
All tables are loaded except for:
reminder
incrementtypes
user
According to the FAQ document provided by Course Mentors, reminder
and
incrementtypes
aren't needed to complete the project. The user
table
is intentionally left out in order to let students figure out how they want
to load it, and what user records they would like in it. You'll need to add
at least 1 user to the user
s table in order for this script to work properly.
- Install Python 3.6 and Pip3
- Download or clone this repo to your computer
- Create at least 1 user in the
user
table and add auto_increment toaddress
,appointment
,city
,country
,customer
- Open a a terminal and navigate to where you cloned this repo
- Enter
pip3 install -r requirements.txt
to install dependencies - Go into settings.py and
- set the DB connection info
- set the desired number of records for each table
- set the UTC offset for your timezone. Here is a list of UTC offsets.
- Enter
python3 main.py
and wait for the script to complete