Cloud bash history app using Python and Flask.
The app is currently under heavy development.
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;
}
HistSync uses python2.7
Using foreman is recommended(makes easier config managing)
- Initialize virtual environment:
virtualenv histsync-venv - Activate virtual environment
source histsync-venv/bin/activate - Install dependencies
pip install -r requirements.txt
HistSync uses postgres in production(and it is recommended to use postgres in development), but using sqlite is also fine.
- Run
foreman run python - In python shell:
from app import db
db.create_all()
- TODO: migrations
>>> from app import *
>>> db.create_all()
Goes to raoulvdberge for early testing, bug reporting & advice