TeamProject3

Social network for project task management

Stars
5

A Social Network for Project Task Management

###Setup Intructions

  1. Clone the project.
  2. Install server dependencies: pip install -r requirements.txt
  3. Install front-end dependencies: bower install
  4. Create development database: python manage.py syncdb
  5. Run the local server: 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:

  1. git fetch origin to get any changes that other people have pushed to GitHub
  2. Create a branch git checkout -b <<well_named_branch>> and do some work on it.
  3. git status to check the files that you've changed show up as altered.
  4. git add . to tell Git that you want to commit these files.
  5. git status again to see that all of the files you added are now in the staging area, ready to be commited.
  6. git commit -m 'Message explaining the commit, what did you change/do'.
  7. git status again there should be no changes to commit. Do git log to see your commit has been added.
  8. 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:

  1. $ python manage.py makemigrations
  2. $ python manage.py migrate core
  3. $ python manage.py migrate chat
  4. $ python manage.py migrate
  5. $ python manage.py runserver if/when you then want to launch the project with the new database models.