DAMP is a MAMP-like development environment powered by Docker. More specifically DAMP is a CLI that wraps Docker commands to make it easy to setup and run development sites on your local machine (ala Vagrant).
To be able to use DAMP you must have the following installed on your system:
Installation is a simple as running:
npm install -g damp-cli
The first time you run DAMP it will setup and configure the Docker machine for you so all you need to do is run:
and you will have a working Docker environment setup already. Once
damp up has finished you can test
that it works by visiting http://damp.dev. DAMP also comes with phpMyAdmin
pre-installed at http://phpmyadmin.damp.dev.
You can control the virtual machine using other damp commands such as
destroy etc. For more
information on available commands run
To create a site using DAMP you simply need to run:
You will be asked to give the site a name (used as it's subdomain e.g. http://myapp.damp.dev) and
what type of site you would like to create (Static, WordPress etc.). DAMP will then create the site, add the relevant information
to your hosts file and attach a volume for your files in your home directory at
Removing a site is as simple as running:
and selecting the site to remove.
So you want to help out? That's awesome. Here is how you can do it:
If you are submitting a pull request please adhere to the existing coding standards used throughout the code and only submit 1 feature/fix per pull request. Pull requests containing multiple changes will be rejected.
This project is now maintained by Robert Tirta