virtualenv .env -p python3
source .env/bin/activate
git clone https://github.com/professionalzack/flashr.git
pip3 install -r requirements.txt
createdb flashr
python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py runserverfrom project3.team import Friends-
'before you catch errors, remember to catch each other'
-
'git is your friend.'
In the flashr repo is a file called db.json. This is the seed file. The way it works is using something called Django Fixtures. More info:
- https://docs.djangoproject.com/en/2.2/ref/django-admin/#what-s-a-fixture
- https://docs.djangoproject.com/en/2.2/howto/initial-data/
To add the seed data, run:
python3 manage.py loaddata db.json-
Python
-
Django
-
SQL // POSTGRES // DBGLASS
-
Javascript
-
JQuery // AJAX
-
HTML // CSS
-
Heroku for Django
-
Trello (https://trello.com/b/vrz8MIi1/flashr)
-
XXTREME PAIR PROGRAMMING
-
Major Trello-ing
-
Team Decisions
-
Never forgetting MVP (scaling down)
As a team, we all spent the first day whiteboarding our ERD, tables, and wireframes. Once that was concluded, we went to Trello to plan our sprints.
When one of us were stuck, we approached the problem as team. Having one driver who will code and three passengers.
-
Finding an alternative way to seed the database through fixtures and DBGlass.
-
Understanding tags and python cannot be written within.
-
Scaling down our project to MVP.
-
Creating the deck routes, view, and logic
- Make a deck model that will give a user a personalized deck based on their pain level.
-
The community aspect.