Skip to content

injuben/injuben

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About in剧本(jù běn)

in剧本(jù běn) is an open source software which can help you to write a screenplay as a plain text. The online version is available.

Development

Download Fonts

Download SourceHan_ttc.zip from https://github.com/injuben/Source-Han-TrueType , unzip it and copy *.ttc to folder app/juben/fonts

Setup Python(3.5+)

python3 -m venv ~/.venv/injuben
source ~/.venv/injuben/bin/activate
cd app
pip install -r requirements.txt

Run App

FLASK_APP=in_juben.py FLASK_ENV=development flask run --host=0.0.0.0

Docker

Local Build

docker build --tag injuben .
docker run --rm -it --name injuben -p 5000:5000 injuben

Docker Hub

docker pull injuben/injuben
docker run --rm -it --name injuben -p 5000:5000 injuben/injuben

Access http://localhost:5000/

Thanks

Fountain

Python : cachelib, Flask, Reportlab, Screenplain

JavaScript: CodeMirror, download.js, jQuery, JavaScirpt Cookie, PDF JS

CSS: Bulma, Foundation Icon Font Sets

Compressor: YUI Compressor, UglifyJS