Skip to content

Latest commit

 

History

History
57 lines (45 loc) · 1.52 KB

README.md

File metadata and controls

57 lines (45 loc) · 1.52 KB

Fyyur

Introduction

An Udacity fullstack project, to implement the backend features with minimal client side dependency.

Cloned from Udacity repo

Deployed to Heroku

Development Setup

  1. Download the project starter code locally
git clone https://github.com/izudada/fyyur.git

  1. Create an empty repository in your Github account online. To change the remote repository path in your local repository, use the commands below:
git remote -v 
git remote remove origin 
git remote add origin <https://github.com/<USERNAME>/<REPO_NAME>.git>
git branch -M master

Once you have finished editing your code, you can push the local repository to your Github account using the following commands.

git add . --all   
git commit -m "your comment"
git push -u origin master
  1. Initialize and activate a virtualenv using:
python -m virtualenv env
source env/bin/activate

Note - In Windows, the env does not have a bin directory. Therefore, you'd use the analogous command shown below:

source env/Scripts/activate
  1. Install the dependencies:
pip install -r requirements.txt
  1. Run the development server:
export FLASK_APP=myapp
export FLASK_ENV=development # enables debug mode
python3 app.py
  1. Verify on the Browser
    Navigate to project homepage http://127.0.0.1:5000/ or http://localhost:5000