Social network for project task management
###Setup Intructions
pip install -r requirements.txt
bower install
python manage.py syncdb
python manage.py runserver
###Doing Work
Before doing anything you need a local copy of the repository:
git clone <<clone URL>>
Note: If you're using a lab machine, you need to clone using SSH or you'll get an error.
Then the most common workflow looks something like:
git fetch origin
to get any changes that other people have pushed to GitHubgit checkout -b <<well_named_branch>>
and do some work on it.git status
to check the files that you've changed show up as altered.git add .
to tell Git that you want to commit these files.git status
again to see that all of the files you added are now in the staging area, ready to be commited.git commit -m 'Message explaining the commit, what did you change/do'
.git status
again there should be no changes to commit. Do git log
to see your commit has been added.git push origin HEAD
will your new local commit to the remote equivalent of the branch you're currently on.###Database Instructions
When testing the database models, or running/hosting the project, we'll need to update Django's databases with our own additions. This is straightforward. Note that steps have been added to account for potential custom migrations. Steps as follows:
$ python manage.py makemigrations
$ python manage.py migrate core
$ python manage.py migrate chat
$ python manage.py migrate
$ python manage.py runserver
if/when you then want to launch the project with the new database models.