CS316 - An achievement-based approach to life.
Code is structured like a typical Django project - one module "core" contains our project.
Assuming django project is set up with setup-django.sh methods: python manage.py syncdb (or makemigrations if necessary) should set up the db python manage.py runserver 0.0.0.0:8000 Go to localhost:8000/core to visit site.
- Follow the instructions here for setting up Django on your VM: http://sites.duke.edu/compsci316_01_f2014/help/django/
(The admin password and specifics that you use don't matter because your local "sample module" is not the one we're using)
-
Add your vagrant ssh key found at ~/.ssh/id_rsa.pub to github: https://help.github.com/articles/generating-ssh-keys/ https://github.com/settings/ssh
-
Clone the git repository (in your shared folder would probably be best for really local development) 'git clone git@github.com:leeviana/gamify-lyfe.git'
(This will make a new gamify-lyfe folder)
- Running 'python manage.py runserver 0.0.0.0:8000' will run the django instance on localhost:8000
-
Pull from git (to get the updated .gitignore file)
-
Delete everything in your core/migrations folder except for the init.py file[s]
-
Run "python manage.py makemigrations"
-
Run "python manage.py syncdb"