CS3450 minigolf web app project
- MASTER_TEST_USER- testmaster : gotest123
- PLAYER- playertest : gotest123
- BARKEEP- barkeeptest : gotest123
- SPONSOR- sponsortest : gotest123
- MANGER- managertest : gotest123
After the project is built following the build instructions below, you can run the following script that will run a handful of integrated unit tests:
python manage.py test PutPutApp
###The test login information listed above should also work on this site.
This repository contains all the documentation and code for the 7thLevelPutPut app. The code will largely be written in python and follow PEP8 standards.
In accordance with PEP8 we will use spaces instead of tabs, CamelCase for classes, ALL_CAPS for constants, underscores in funciton and variable names, etc.
- Project will be managed using Github
- Commits will be well labeled and informative as to what happened during that commit in case of bugs or version reverting.
- Code commits will be reviewed by at least one other team member before merged
- Functionality of web app must be built and tested before commiting to the main branch.
Project is managed via Discord. Team members use the #scrum-meeting channel to update their status on the days we don't meet via voice chat or zoom
Our tentative toolstack consists of:
Django - Web server framework using python
https://www.djangoproject.com/
MySQL - Popular relational database
https://www.mysql.com/
Bootstrap - Mobile-first frontend framework
https://getbootstrap.com/
Three options. One is for windows(Reccomended, less database setup), one is a build script (ubuntu). The other is more manual in case the build script doesn't work(ubuntu).
Clone repository
git clone https://github.com/skittlebearz/7thLevelPutPut.git
Enter newly cloned repository
cd 7thLevelPutPut
Ensure python virtual environment is installed
pip install virtualenv
Create virutal environment
virtualenv virtualputput
Activate virutal environment If using a linux/bash type shell
source virtualputput/Scripts/activate
OR if using Powershell
.\virtualputput\Scripts\activate
Ensure all dependencies are installed/accessible to virutal environment
pip install -r requirements.txt
Run the project migrate to initialize website
python PutPutProject/manage.py migrate
Start up the website
python PutPutProject/manage.py runserver
Now go to the starting point(dashboard) of the website http://127.0.0.1:8000
Clone GitHub repo:
git clone https://github.com/skittlebearz/7thLevelPutPut.git
Ensure dependencies are installed
sudo apt install python3 python3-pip python3-dev python3.8-venv default-libmysqlclient-dev build-essential
Setup up virtualenv
virtualenv -p python3 <name>
. <name>/bin/activate
Install python modules:
pip3 install -r requirements.txt
Run the project migrate to initialize website
python PutPutProject/manage.py migrate
Run server:
cd PutPutProject
python3 manage.py runserver
Now go to the starting point(dashboard) of the website http://127.0.0.1:8000
After the project is built, you can run the following script that will run a handful of integrated unit tests:
python manage.py test PutPutApp