Skip to content
Skip to NAV_MENU-2
Skip to GROFILE-3
Skip to CALENDAR-2
Skip to RECENT-COMMENTS-2
Skip to GROFILE-5
Skip to BLOG_SUBSCRIPTION-2
Skip to SEARCH-2
Skip to CATEGORIES-3
Skip to ARCHIVES-2
Skip to TAG_CLOUD-4
Skip to RECENT-COMMENTS-2

Linkesh Diwan

In Service to People and the Planet

Expandmenu Shrunk

  • Resumé
  • Featured Projects
    • Wise Earth Publishers – Promoting Ethical Life on Earth
  • Testament of Swift Arrow
  • Contact Me

  • Tag Archives Django
  • CrisisCommunicator Development: now Easier than Ever Before!

    Posted on February 2, 2014 8:32 pm by Linkesh Diwan Comment

    Issue #24 over on the CrisisCommunicator GitHub pages has been assigned to me for a couple weeks now; but it’s finally cleared up.  The issue description was simple enough: write the instructions for installation.

    As with all programming, it got more complicated from there.

    Previously, I had written a script called Adorno (announcement here), which allows Python / Django beginners to quickly and (relatively) effortlessly set up a professional development environment, including:

    • VirtualBox
    • Vagrant
    • Git
    • Heroku (for Git-based online hosting)
    • PythonBrew (to maintain separate versions of Python)
    • VirtualEnv and VirtualEnv Wrapper (via VirtualEnv Burrito)
    • and finally, pip.

    Setting up all that stuff can take a novice days, and can be enough to scare anyone away.  At the very least, novices will “make do” with only part of the above, usually skipping VirtualBox, Vagrant, and Git, using PythonBrew only if absolutely necessary, and perhaps not even bothering to install VirtualEnv.  That’s a pity, because their life could be so much easier with those tools!  (I know… I’m guilty!)

    Well, Adorno solved that for me.  It was a nice script that I could use to easily set up those things, and was geared for people just starting their Tango with Django.

    What does that have to do with Issue #24?  Well, I reasoned, if Adorno could setup for Tango with Django, it shouldn’t be too difficult to expand it, so that developers could use it to easily install their Django projects in development environments.  I needed to abstract the project-specific customization into a separate configuration file, which could be tailored for every project.

    Very long story short, with some great help from IRC user Riviera (who introduced me to ShellCheck – a great error-checker and best-practice resource for your shell scripts) it’s done!  (Well, it’s working.  Riviera gave me a long list of homework, which will be done, I promise!)

    Getting started with CrisisCommunicator development is easier than ever before.  Head on over to the how-to, and start coding!

    If you have your own project, feel free to include a <project_name>_adorno.sh script file in the root of your repository.  Check the Adorno repository for a guide (use tango_adorno.sh – it’s very simple).

    I hope it’s useful, and that the development of the CrisisCommunicator increases!

    Useful? Let people know...

    • Share on Facebook (Opens in new window)
    • Click to share on Twitter (Opens in new window)
    • Click to share on Google+ (Opens in new window)
    • Click to share on LinkedIn (Opens in new window)
    • Click to share on Reddit (Opens in new window)
    • More
    • Click to email this to a friend (Opens in new window)
    • Click to print (Opens in new window)
    • Click to share on Pocket (Opens in new window)
    • Click to share on Pinterest (Opens in new window)
    • Click to share on StumbleUpon (Opens in new window)
    • Click to share on Tumblr (Opens in new window)

    This entry was posted in Code How-To and tagged adorno CrisisCommunicator Development Django IRC Python

  • Adorno: Embellishing your Tango with Django

    Posted on January 3, 2014 8:54 pm by Linkesh Diwan 1 Comment

    UPDATE: It seems that the version that I published to GitHub at the time of writing this post didn’t work properly.  Now it’s fixed, and works like a charm!

    I have been following the excellent Tango with Django online book over Christmas and New Year.  I’m hoping to be able to contribute more meaningfully to the CrisisCommunicator project.

    Previous to Tango with Django, I followed all of the tutorials at Getting Started with Django.  I really appreciate those tutorials, as the author (Mr. Kenneth Love) goes out of his way to show you the current “best practices” in Django development.  I wish he had been able to finish his series!  As it is, I’m addicted to his approach, using excellent programs like Vagrant to create a really great development environment.

    In Tango with Django, a different development environment is used.  I wanted to continue using Vagrant and Heroku, and I wanted a quick-reference script that I could use to create more development environments easily.

    So Adorno was born.  Adorno is a bash shell script to help set up a Vagrant box with the necessary tools for easily coding in Python. It is especially helpful for people following the Tango With Django series. The README also serves as a quick and simple command reference for beginners like myself.  It works independent of your operating system, because it runs in the Vagrant virtual box.

    Adorno makes it really simple to set up a development environment and get you ready for Django coding.  Spend less time setting up, and more time coding!

    Find it in my GitHub account:

    http://github.com/swiftarrow/Adorno

    Enjoy!  I hope it’s useful to people.

    Useful? Let people know...

    • Share on Facebook (Opens in new window)
    • Click to share on Twitter (Opens in new window)
    • Click to share on Google+ (Opens in new window)
    • Click to share on LinkedIn (Opens in new window)
    • Click to share on Reddit (Opens in new window)
    • More
    • Click to email this to a friend (Opens in new window)
    • Click to print (Opens in new window)
    • Click to share on Pocket (Opens in new window)
    • Click to share on Pinterest (Opens in new window)
    • Click to share on StumbleUpon (Opens in new window)
    • Click to share on Tumblr (Opens in new window)

    This entry was posted in Code and tagged adorno CrisisCommunicator Django GitHub GSWD PeaceOSL TWD


  • Who’s Swift Arrow?

    Linkesh Diwan

    Linkesh Diwan

    Personal Links

    • Personal Website
    • Wise Earth Publishers
    • Wise Earth Technology

    Verified Services

    View Full Profile →

  • Find Something

  • Categories

    • Code
    • HAM Radio
    • How-To
    • Meta: About this Site
    • Uncategorized
  • Archives

    • November 2014
    • February 2014
    • January 2014
  • Tags

    adorno Android APRS APRX Baofeng CrisisCommunicator Cross Country Wireless Custom ROM Development Django Drupal FlashTool flux GitHub GSWD gtk i-Gate iGate imagemagick IRC kde linux pdf pdftk PeaceOSL Python redshift reduce eye strain Root SELECT Sony TNC TWD Unlock Bootloader XDA Xperia U

©2023   raindrops  Entries RSS andComments RSSAccessible  Raindrops Theme  

top

loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.