A new strange experiment. Clutter-less markdown-enabled text editor, able to save files on a Redis database.
- Access to a Redis database,
- Ability to run a Python WSGI server for the Flask app,
Inside a virtualenv (preferrably):
pip install -r requirements.txt
By default, the application will try to connect on the following database.
REDIS_HOST = 'localhost'
REDIS_PORT = 6379
REDIS_DB = 0
To override this default values, create a local_settings.py
file and change these parameters to fit your needs.
Run the following command:
python app.py
and go to the following URL with your browser: http://localhost:5000/
.
If you want to expose this application on the network, you'll have to set your host parameter as follows:
HOST = '0.0.0.0'
To run the application with this setup, you'll have to do it as root:
sudo /home/user/.virtualenvs/MYVIRTUALENV/bin/python app.py
Of course, you can change the port if you need it.
- Flask, Flask-restful and Flask-And-Redis
- Editor.js, by Hsiaoming Yang.
- Glyphicons icons,
- JQuery,
- Fonts are Ubuntu Mono, Roboto Slab, provided by Google Webfonts
- Responsive grid by the Twitter Bootstrap
This code is published under the terms of the WTFPL.