Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benoitvallon/100-best-books
An website to play with the 100 best classical books of all time http://www.100bestbooks.xyz
https://github.com/benoitvallon/100-best-books
Last synced: 16 days ago
JSON representation
An website to play with the 100 best classical books of all time http://www.100bestbooks.xyz
- Host: GitHub
- URL: https://github.com/benoitvallon/100-best-books
- Owner: benoitvallon
- Created: 2015-08-11T19:06:03.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-04-10T13:21:03.000Z (over 3 years ago)
- Last Synced: 2024-10-11T09:11:00.558Z (about 1 month ago)
- Language: CSS
- Homepage:
- Size: 5.43 MB
- Stars: 75
- Watchers: 4
- Forks: 211
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# 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.
```shell
export HUNDREDBESTBOOKS_SETTINGS=settings.py
```An example of your config file could be:
```shell
# 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.
```shell
bower install
```# Run the app
## In the local environment
Launch the python web server with the following command and visit http://localhost:5000.
```shell
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.
```shell
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 .
```