Welcome to our CMPUT404 Project Page!
Group Members: Xiaole Zeng, Will Fenton, Gregory Neagu, Muhammad Khan, Heyue Huang
Class Section: CMPUT 404 Winter 2020
CMPUT404-project-socialdistribution
See project.org (plain-text/org-mode) for a description of the project.
Make a distributed social network!
- superuser info:
usrname:[email protected]
password:demo
- API endpoint: API Documentation
- Create an empty directory and cd into it
- Setup virtualenv
- Activate virtualenv
- Clone repository
- Pip install requirements
- Run django server
mkdir social-distribution-project && cd social-distribution-project
virtualenv venv --python=python3
source venv/bin/activate
git clone https://github.com/CMPUT404W20Project/CMPUT404-project-socialdistribution.git
cd CMPUT404-project-socialdistribution
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver
Migrations were causing an issue, and the old migrations and db may need to be reset. If errors occur, from the project directory, do the following:
find . -path "*/migrations/*.pyc" -delete
find . -path "*/migrations/*.py" -not -name "__init__.py" -delete
mv db.sqlite3 db.sqlite3.bk
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
- Setup virtualenv
- Activate virtualenv
- Clone repository
- Navigate to socialdistribution
- Pip install requirements
- Run django server
virtualenv venv --python=python3
source venv/bin/activate
git clone https://github.com/CMPUT404W20Project/CMPUT404-project-socialdistribution.git
cd CMPUT404-project-socialdistribution
cd socialdistribution
pip install -r requirements.txt
python manage.py runserver
- Run tests
⚠️ testsui.py requires geckodriver. Unfortunately it can't be installed via pip, if you would like to run the ui tests please download geckodriver manually geckodriver and add it to your virtualenv(under venv/bin)⚠️
python3 manage.py test
Generally everything is LICENSE'D under the Apache 2 license by Abram Hindle.
All text is licensed under the CC-BY-SA 4.0 http://creativecommons.org/licenses/by-sa/4.0/deed.en_US
Contributors:
Karim Baaba
Ali Sajedi
Kyle Richelhoff
Chris Pavlicek
Derek Dowling
Olexiy Berjanskii
Erin Torbiak
Abram Hindle
Braedy Kuzma