russorat / savage-leads

This is the code for the website savage leads.

Home Page:http://savageleads.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python Flask Skeleton for Google App Engine Update

A skeleton for building Python applications on Google App Engine with the Flask micro framework.

See our other Google Cloud Platform github repos for sample applications and scaffolding for other python frameworks and use cases.

Run Locally

  1. Install the App Engine Python SDK. See the README file for directions. You'll need python 2.7 and pip 1.4 or later installed too.

  2. Clone this repo with

    git clone https://github.com/russorat/savage-leads.git
    
  3. Install dependencies in the project's lib directory. Note: App Engine can only import libraries from inside your project directory.

    cd savage-leads.git
    pip install -r requirements.txt -t lib
    
  4. Run the Elasticsearch setup script to setup indicies Note: running this with the --clear option will delete your indicies completely

    python setup_es.py
    
  5. Run this project locally from the command line:

    dev_appserver.py .
    

Visit the application http://localhost:8080

See the development server documentation for options when running dev_appserver.

Deploy

To deploy the application:

  1. Use the Admin Console to create a project/app id. (App id and project id are identical)

  2. Deploy the application with

    appcfg.py -A <your-project-id> --oauth2 update .
    
  3. Congratulations! Your application is now live at your-app-id.appspot.com

Licensing

See LICENSE

About

This is the code for the website savage leads.

http://savageleads.com

License:Apache License 2.0


Languages

Language:JavaScript 89.2%Language:Python 7.1%Language:HTML 2.1%Language:CSS 1.6%