A Reader and Editor for Hypertext
Go to file
Alex Hunt 667c4548a2 Adding to README 2018-05-09 23:00:44 -04:00
.pytest_cache/v/cache Some cleaning and setting up pytest 2018-04-19 19:45:43 -04:00
blueprints Finished routing for edit page doc type switching 2018-05-08 23:39:59 -04:00
dist/js Some refactoring and tidying 2018-04-29 13:39:43 -04:00
seed_data Bug fixes and tweaks 2017-12-16 15:07:49 -05:00
src README instructions 2018-05-09 22:35:43 -04:00
templates Wiring up React Router routing and condensing entry points into SPA 2018-05-01 00:05:04 -04:00
tests Some cleaning and setting up pytest 2018-04-19 19:45:43 -04:00
.babelrc Finally refactored actions so they can be import as a single object 2018-05-08 20:36:04 -04:00
.gitignore Splitting out dev and prod webpack configs and updating some packages 2018-04-25 18:58:58 -04:00
JoyceEditor_Mock.pdf Working on the editor UI. Needs some refactoring components and wire up api middleware. 2017-11-13 18:39:08 -05:00
README.md Adding to README 2018-05-09 23:00:44 -04:00
TODO.txt Adding to README 2018-05-09 23:00:44 -04:00
application.py Wiring up React Router routing and condensing entry points into SPA 2018-05-01 00:05:04 -04:00
package.json Finally refactored actions so they can be import as a single object 2018-05-08 20:36:04 -04:00
pytest.ini Some cleaning and setting up pytest 2018-04-19 19:45:43 -04:00
requirements.txt README instructions 2018-05-09 22:35:43 -04:00
setup.py Save a plain-text version of document for search highlighting 2018-04-28 18:38:19 -04:00
test_joyce.py Some cleaning and setting up pytest 2018-04-19 19:45:43 -04:00
webpack.common.js Wiring up React Router routing and condensing entry points into SPA 2018-05-01 00:05:04 -04:00
webpack.dev.js Some refactoring and tidying 2018-04-29 13:39:43 -04:00
webpack.prod.js Some refactoring and tidying 2018-04-29 13:39:43 -04:00

README.md

Joyce

A Reader and Editor for Hypertext

Joyce is a web app for reading and annotating texts. It was designed to power The Joyce Project, a website to help introduce James Joyce's Ulysses to new readers with the full-text and detailed annotations.

Joyce uses Python and Flask for the backend, Elasticsearch for the datastore, and React and Bootstrap for the front end, bundled with Webpack. The text editor is built on DraftJS.

Setup

This assumes you have Node, npm, pip and optionall virtualenv installed.

Install Elasticsearch:

brew install elasticsearch

Joyce requires Python 2.7:

virtualenv -p /usr/bin/python2.7 joyce_flask

source bin/activate

Install the Python backend:

pip install -r requirements.txt

Install the Javascript frontend:

npm install

Setup the Elasticsearch indexes:

python setup.py

Run Locally

Start Elasticsearch:

elasticsearch

Start Webpack in watch mode:

npm run watch

Start Python application:

python application.py

You should now find Joyce running locally at:

localhost:5000