janosgyerik / 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.
http://bashoneliners.com/
Other
213 stars 35 forks source link

Quality Gate Status

Setup

Install required python modules:

pip install -r requirements.txt

Create database (sqlite3), and admin account:

python manage.py migrate

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 using the --settings flag, like this:

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