- [Airtraffic-Simulator]
Systems Engineering Project
.kv files are "kivy" files, a file type specific to our front-end implementation
- main.py - Contains the app definition, loads main.kv
- main.kv - Loads individual screens and sets up window manager
- Screens.py - Contains class defintions for screens
- Screens - Contains .kv files that contain kivy widget defintions. Each file corresponds to a class in Screens.py
- ...
- Change python version in /PipFile
- Run > pipenv --python version
Install dependencies
pipenv install --dev
Ensure that it is "--dev" and not "-dev"
git pull
- Navigate to the directory your branch is in
-
git add .
-
git commit -m "message" -a
-
git push origin branch
- Navigate to the directory your branch is in
-
git add .
-
git commit -m "message" -a
-
git push origin sourceBranch:destinationBranch
#Creating the Database To ensure the database is able to run, take these steps
- Ensure that mySQL is installed on your computer
https://dev.mysql.com/downloads Go to terminal and type mysql, if nothing occurs, it needs to be installed Go to the link above and follow steps to setup on your machine
- Create a user that has all permissions with a unique username and password
- Go into CreateDatabase.py and MasterLogAccess.py and change the username and password to the unique ones created
- Run CreateDatabase.py
This will create the database and tables that we use
- The database should be prepped along with the code
pipenv run python main.py