Skip to content

Clutter-less markdown online editor that stores documents in a Redis DB

Notifications You must be signed in to change notification settings

brunobord/redislax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redislax - Relax with Redis support

A new strange experiment. Clutter-less markdown-enabled text editor, able to save files on a Redis database.

Requirements

  • Access to a Redis database,
  • Ability to run a Python WSGI server for the Flask app,

Install the Python packages

Inside a virtualenv (preferrably):

pip install -r requirements.txt

Configuration

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

Run the following command:

python app.py

and go to the following URL with your browser: http://localhost:5000/.

Serve to the world

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.

Screen capture

Screen capture

Colophon

License

This code is published under the terms of the WTFPL.

About

Clutter-less markdown online editor that stores documents in a Redis DB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages