Skip to content

alavi201/EcoHazards

Repository files navigation

csc648-team07

  • add ALL your team members to your team's repo.

  • [Team Lead] Sean Sutherland

  • [Front End Lead] Lance Larsen

  • [Back End Lead] Corey Humeston

  • [Front End] Mark Soriano

  • [Front End] Girish Tiwale

  • [Back End] Amelie Cameron

  • [Back End] Ali Alavi

To Work on Repo

+ Click the GREEN Clone or download button
  • Copy the HTTPS to your clipboard
  • Go to a directory (desktop for ease of access)
  • git clone "paste from clipboard here"

Backend Stuff for Us to Remember

  • heroku run python manage.py migrate

  • heroku open

  • give everyone SSH key for repo

  • ask Anthony questions about Heroku

Windows Users

  1. add to collaborators
  2. Download Heroku CLI and type "heroku login" from terminal/cmd in your desktop directory. login with your heroku account.
  3. Windows - heroku git:clone -a csc648team07
  4. cd to cloned file
  5. download python 3.6.4 to machine
  6. download git to machine
  7. use command - pip install pipenv
  8. pipenv --three
  9. pipenv install
  10. pipenv shell
  11. python manage.py collectstatic (if it asks question, type ‘yes’)
  12. heroku local web -f Procfile.windows

Requirements.txt

Installing Prerequisite Python Packages:

  1. cd to the directory where requirements.txt is located
  2. activate your virtualenv
  3. run: pip install -r requirements.txt in your shell

https://pip.readthedocs.io/en/1.1/requirements.html

Quick Commands

go to project directory

  1. pipenv install
    (install new dependanciess )
  2. pipenv shell
    (create new virtual environment )
  3. heroku local web -f Procfile.windows
    (localhost server on browser) (non debug)
  4. python manage.py runserver
    (localhost)(debug)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages