EditOnline-0.1.9
توضیحات
A simple online file editor by Python base on Ace.js.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | EditOnline-0.1.9 |
| نام | EditOnline |
| نسخه کتابخانه | 0.1.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | sintrb |
| ایمیل نویسنده | sintrb@gmail.com |
| آدرس صفحه اصلی | https://github.com/sintrb/EditOnline |
| آدرس اینترنتی | https://pypi.org/project/EditOnline/ |
| مجوز | Apache |
EditOnline
===============
A simple online text file editor base on Ace.js.
Install
===============
::
pip install EditOnline
Use
===============
cd to you working directory and run command:
::
EditOnline
on Windows use:
::
EditOnline.bat
if can't find EditOnline command, try:
::
python -m EditOnline
open broswer with url **http://127.0.0.1:8000**
Editor shortcut
===============
- **Ctrl+Alt/Shift+S** : Save This File
- **Ctrl+Alt/Shift+N** : Create New File
- **Ctrl+Alt/Shift+H** : Show This Help Info
Other tips
===============
1.set http port 80
::
EditOnline 80
2.authenticate with username and password (admin admin)
::
EditOnline -u admin -p admin
3.set the working directory (/tmp)
::
EditOnline -d /tmp
4.bind address with 127.0.0.1
::
EditOnline 127.0.0.1:8000
5.use as wsgi
::
# set username and passwor
export WSGI_PARAMS="-u admin -p admin"
# run wsgi with gunicorn
gunicorn -b 0.0.0.0:8000 EditOnline.wsgi:application
CHANGES
===============
0.1.0
- test
0.1.2
- first version
0.1.3
- setup bug fix
0.1.4
- 1.complete document
- 2.fix working directory(-d) option bug
- 3.change to use cdnjs static resource
0.1.5
- 1.using **ThreadingHTTPServer** to handle concurrency request
- 2.import **static** resource to avoid the slow speed of cdnjs in China, then the EditOnline size increased >.<
- 3.bind address support, see **-h**
- 4.add EditOnline.py to scripts
0.1.6
- 1.fix libdir bug
- 2.change package info
0.1.7
- 1.wsgi suport
0.1.9
- 1.shell bug
0.1.10
- 1.fix wsgi bug
0.1.11
- 1.short key change
- 2.add toolbar
0.1.12
- 1.short key help
0.1.13
- 1.fix 401 bug
0.1.14
- 1.add fontsize set
نحوه نصب
نصب پکیج whl EditOnline-0.1.9:
pip install EditOnline-0.1.9.whl
نصب پکیج tar.gz EditOnline-0.1.9:
pip install EditOnline-0.1.9.tar.gz