A collection of practical or just pure awesome bash one-liners or shell script tips and tricks for GNU Linux, UNIX or BSD systems. Open, collaborative system, user friendly, with functions to contribute one-liners, request one-liners, search, rss feed, commenting, Open ID login. Open-source project, using Django, Python, jQuery, HTML5, Bootstrap…
JavaScript Python HTML CSS Other
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
accounts
bashoneliners
docs
dreamhost
graphics
logs
misc
oneliners
scripts
static
.gitignore
AUTHORS
CHANGELOG.md
COPYING
LICENSE
README.md
manage.py
manage.sh
pip.sh
requirements.txt
run.sh
todo.md
virtualenv.sh

README.md

Setup

  1. Install required python modules

     pip install -r requirements.txt
    
  2. Create database (sqlite3), and admin account

     python manage.py syncdb
    
  3. Start local website on localhost:8000

     python manage.py runserver
    

Local Settings

To override the default settings.py file in production, create a local_settings file and pass it to manage.py with the --settings flag like this:

python manage.py syncdb --noinput --settings=bashoneliners.local_settings