https://github.com/unfoldingword-dev/uw-publisher
https://github.com/unfoldingword-dev/uw-publisher
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/unfoldingword-dev/uw-publisher
- Owner: unfoldingWord-dev
- Created: 2015-05-24T05:57:46.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-29T05:28:04.000Z (almost 11 years ago)
- Last Synced: 2025-03-13T03:43:49.084Z (over 1 year ago)
- Language: Python
- Size: 245 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# uw-publisher
This flask server receives communication from the [uw-web](https://github.com/unfoldingWord-dev/uw-web) client
and exports the chosen Bible text into any format the user desires.
# Developer Setup
To use this tool, you will first need to make sure you have [Python 3](https://docs.python.org/3/using/) installed. Once installed, you can follow these steps to get started:
1) Install [Flask](http://flask.pocoo.org) using PIP3.
sudo pip3 install flask
2) Create 2 directories to store temporary files and source files.
3) Copy a version of the 'sample.config.json' file to 'config.json'.
cp sample.config.json config.json
4) Open the config file, and set all the appropriate settings.
* port - The port to run the Flask Server on.
* source_root - The location of the directory you created that will store source files.
* temp_root - The location of the directory you created that will store temporary files.
5) Run the flask server.
python3 ./server.py