/bashoneliners

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 from Twitter.

Primary LanguageJavaScriptOtherNOASSERTION

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