codebase-berkeley / application-portal

Home Page:https://pure-cliffs-74204.herokuapp.com/portal/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Application Portal

The first time...

Clone this repo - put it in a folder with all of your other CodeBase work: git clone https://github.com/codebase-berkeley-mentored-project-fa17/ApplicationPortal.git

Navigate into it cd ApplicationPortal

Set up a virtual environment with the command python3 -m venv env (Linux and Mac) or virtualenv env if you're on Windows. This creates a virtual environment with the name "env" in your local directory.

Activate your virtual environment with source env/bin/activate (Linux and Mac) or env\scripts\activate (Windows).

Install the dependencies: pip install -r requirements.txt

Every time

Activate your virtualenv before doing anything in your terminal!

Work in a branch, never, ever, ever on master or staging!

Pull your branches most recent changes. git pull

Migrate any schema changes: python manage.py migrate

Before pushing, make sure you have made the migrations: python manage.py makemigrations

To run locally, type in python manage.py runserver and then visit localhost:8000. You should get some kind of 404 error.

About

https://pure-cliffs-74204.herokuapp.com/portal/


Languages

Language:Python 41.3%Language:HTML 35.2%Language:CSS 22.2%Language:JavaScript 1.3%