Skip to content

1135586/histsync

 
 

Repository files navigation

HistSync

Join the chat at https://gitter.im/eleweek/histsync

Cloud bash history app using Python and Flask.

The app is currently under heavy development.

Installing

Run: bash <(curl http://www.histsync.io/download-client/install.bash)

And then add this to your .bashrc / .bash_profile

preexec() {
    ~/.histsync/histsync-client --api-key {{hist_sync_api_key}} --user {{github_username}} "$1" --log-file ~/.histsync/log;
}

Running development version locally

HistSync uses python2.7

Using foreman is recommended(makes easier config managing)

Virtual Environment

  1. Initialize virtual environment: virtualenv histsync-venv
  2. Activate virtual environment source histsync-venv/bin/activate
  3. Install dependencies pip install -r requirements.txt

Database

HistSync uses postgres in production(and it is recommended to use postgres in development), but using sqlite is also fine.

  1. Run foreman run python
  2. In python shell:
from app import db
db.create_all()
  1. TODO: migrations
>>> from app import *
>>> db.create_all()

Special thanks for helping with 1.0 release

Goes to raoulvdberge for early testing, bug reporting & advice

About

Cloud Bash History app using python and flask

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 36.4%
  • HTML 25.7%
  • Shell 18.8%
  • JavaScript 16.9%
  • CSS 1.4%
  • Mako 0.8%