Giter Club home page Giter Club logo

docker-tutorial's Introduction

Docker Tutorial

The Docker tutorial is an interactive learning environment to get familiar with the Docker commandline.

Simple Usage

Generally this application is used in the www.docker.io website. It's source can be found on https://github.com/dotcloud/www.docker.io/. By installing that you will get this app 'for free' as a dependency.

However, this app is made to also be usable inside other Django applications. All that is required is to add git+https://github.com/dhrp/docker-tutorial.git#egg=DockerTutorial-dev to your requirements.txt and it will be installed by pip upon pip install -r requirements.txt

To include it

  • Make sure your "host" app uses the same python environment
  • In your "host" app settings include "docker_tutorial"
  • in a template {% include 'tutorial/snippet.html' %}
  • in your urls.py add url(r'^tutorial/', include('docker_tutorial.urls')),

When you want to make changes

  • First create or switch to a virtual environment in which you have the "host" app into which you would like to embed the tutorial. e.g. a clone of the the Docker website (before you ran install)
  • Clone this repository: git clone https://github.com/dhrp/docker-tutorial.git
  • Switch to the dir: cd docker-tutorial
  • Install the application with the -e (editable) flag. pip install -e .

This will setup the symlinks such that you don't need to run setup.py every time you want to see a change. i.e. your local repository is now linked into the environment.

Happy coding!

docker-tutorial's People

Contributors

dhrp avatar jakelodwick avatar jbarbier avatar keeb avatar ngauthier avatar rgbkrk avatar samalba avatar stevenmaude avatar wilfred avatar

Watchers

 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.