Giter Site home page Giter Site logo

stevenrouk / 02-two-hour-app Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 6 KB

The second in my two-hour app challenge. In this one, I create an automatic script for creating a Django dev environment and deploying it to Heroku.

Python 91.30% Shell 8.70%

02-two-hour-app's Introduction

Two-Hour App #2: Automatic Django / Heroku Creator

In yesterday's two-hour app challenge, I had trouble deploying the final (crappy) app to Heroku. Today, I spent a lot of time digging into what files and settings needed to be adjusted in order to make that work.

In working through this, I started writing a small script that would create some files I would need: runtime.txt, requirements.txt, etc. After a little while I realized "Hey, I could just write a script to set up the whole project from the start." And that's exactly what I did.

Voila! Heroku-Django, a script I created in order to (1) Create a Django development environment, and (2) Deploy the basic starter Django app to Heroku.

Although I technically didn't build a web app today, I also sort of technically built about 30 of them as I tested the automatic creation and deployment script.

So now, whenever I want to set up a Django project that's going to end up on Heroku (which will probably be for the next several days at least), I don't have to worry about the environment or the deployment at all!

Which is pretty awesome, I think.

02-two-hour-app's People

Contributors

stevenrouk avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.