Giter Club home page Giter Club logo

baobab's Introduction

Full Stack Web Developer Nanodegree Course Project

BAOBAB Setup

Python comes already pre-installed on the terminal, so by typing python you can find your version number i.e Python 2.7.10 (default, Jul 14 2015, 19:46:27) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin Type "help", "copyright", "credits" or "license" for more information.

Mac: If you are getting permission issues while installing libraries, follow guide super user set up: -https://support.apple.com/en-us/HT204012

Environment Setup and Installed Modules

The modules below may need to be installed, but first follow the "Run the application" steps below

  1. Installed pip:
  • sudo easy_install pip
  1. Django framework version 1.6.1
  • pip install django==1.6.1
  1. Installed virtualenv
  • sudo easy_install virtualenv
  1. Installed the following libraries if you do not already have them:
  • pattern: pip install pattern
  • requests: pip install requests or easy_install requests
  1. run the command to display all the modules installed:
  • pip freeze

Run the application

  • Run command virtualenv your-project-name
  • copy the all the files from Baobab into your-project-name(replacing the old one)
  • Activate the virtual environemnt:
    • cd to your-project-name directory
    • source bin/activate
  • perform pip freeze to ensure the following modules are installed (if not installed them as described above): -BeautifulSoup==3.2.1
    • Django==1.6.1
    • django-registration==1.0
    • Pattern==2.6
    • requests==2.7.0
    • South==1.0.2
    • stripe==1.27.0
    • wheel==0.24.0
  • cd to your-project-name/src/ -run commnand:
    • ./manage.py runserver
  • navigate to the URL displayed: http://127.0.0.1:8000

Edit movie entry +++++++++++++++++++++++++++++++++++

  1. Navigate to http://127.0.0.1:8000/admin
  2. login with super user: suBaobab pw: baobab
  • user: admin pw: pssword
  1. select Add movies -> title (year) - > edit movie.

Known Issues

  1. poster image from OMDB api does not show on safari, and sometimes on Chrome.

baobab's People

Contributors

nganou avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.