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…
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
accounts Removed Stack Exchange login May 21, 2017
bashoneliners Add back Google analytics ID May 30, 2017
docs added references for api design Nov 10, 2014
dreamhost improved 500 error page and added internal_error page for crashes by … Jun 1, 2013
graphics added "make gource" May 24, 2013
logs logs/ and static/ must exist but in general we ignore May 25, 2013
misc slightly cleaner scripts Aug 24, 2013
oneliners Fix reverse lookup of search view Jun 28, 2017
scripts Scripts should fail fast if virtualenv cannot be loaded May 29, 2017
static logs/ and static/ must exist but in general we ignore May 25, 2013
.gitignore works with django 1.9, but had to take down comments, and disable fee… Dec 5, 2015
AUTHORS updated AUTHORS Feb 18, 2012
CHANGELOG.md RELEASENOTES.md -> CHANGELOG.md and follow standard Dec 4, 2015
COPYING added license and related files Sep 28, 2011
LICENSE added license and related files Sep 28, 2011
README.md removed execution bit from manage.py Aug 1, 2013
manage.py removed execution bit from manage.py Aug 1, 2013
manage.sh Scripts should fail fast if virtualenv cannot be loaded May 29, 2017
pip.sh Scripts should fail fast if virtualenv cannot be loaded May 29, 2017
requirements.txt Upgrade to Django 1.11 May 21, 2017
run.sh Scripts should fail fast if virtualenv cannot be loaded May 29, 2017
todo.md Remove question May 21, 2017
virtualenv.sh Scripts should fail fast if virtualenv cannot be loaded May 29, 2017

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