GithubHelp home page GithubHelp logo

jdcarvalho / 100-best-books Goto Github PK

View Code? Open in Web Editor NEW

This project forked from benoitvallon/100-best-books

0.0 0.0 0.0 5.56 MB

An website to play with the 100 best classical books of all time http://www.100bestbooks.xyz

JavaScript 0.22% Python 3.16% CSS 92.98% HTML 3.64%

100-best-books's Introduction

100-best-books

==========================

An website to play with the 100 best classical books of all time.

Configuration

In order to launch the project you must define a config file. To do so, export an env variable called HUNDREDBESTBOOKS_SETTINGS which define the path to your config file.

export HUNDREDBESTBOOKS_SETTINGS=settings.py

An example of your config file could be:

# configuration
DEBUG = True
ISBNDB_KEY = 'MY_FAKE_KEY'
SECRET_KEY = 'your session key'
USERNAME = 'username'
PASSWORD = 'password'
ENVIRONMENT = 'development'

You can switch the ENVIRONMENT form development to production variable depending whether you need the assets to be build or not. For example, if you run the project on Google App Engine, you will need to deactivate the assets building.

Installation

This project project depends on some libraries, so you must install them via bower before running it.

bower install

Run the app

In the local environment

Launch the python web server with the following command and visit http://localhost:5000.

python web.py

In the local Google App Engine environment

Launch the Google App Engine web server with the following command and visit http://localhost:8080.

dev_appserver.py .

Access the local Google App Engine console at http://localhost:8000/instances.

Push the modifications to Google App Engine

Before pushing the code to Google App Engine you need to edit and change the configuration setting 'ENVIRONMENT' to "production".

appcfg.py -A hundred-best-books update .

100-best-books's People

Contributors

benoitvallon 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.