Code Monkey home page Code Monkey logo

docker_codeigniter's Introduction

DOCKERISED CODEIGNITER

A development environment for codeigniter developers

How to Install

Mac OS / Linux / Unix

If you are Mac OS X user you will need to install the docker toolbox. This will come with the docker-machine ( a light-weight virtual machine to run your docker containers in ), the docker client and docker compose.

Linux

Install docker

Install docker compose

Building / Starting
./start.sh
How it works

The bash script builds and brings up the 2 containers defined in the docker-compose.yml based on the Dockerfile for each named container. The script also pulls the ip address of the apache container and writes to your hosts file so the host codeigniter.dev is accessible. On stopping the containers all entries added to the hosts file are removed this is done by token added to each entry.

Stopping
./stop.sh
Destroying the environment

Remove all images

docker rmi $(docker images -q)

Stop and remove the docker-machine ( Mac OS X only)

docker-machine stop codeigniter
docker-machine rm codeigniter

Windows

Sorry windows people :-(

TODO TASKS

  • Figure out how to Docker on Windows
  • Convert bash scripts into something portable
  • Write better docs

docker_codeigniter's People

Contributors

bart88 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.