Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

damp-cli

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

damp-cli

A MAMP-like development environment powered by Docker

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

DAMP

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

Prerequisites

To be able to use DAMP you must have the following installed on your system:

Install

Installation is a simple as running:

npm install -g damp-cli

Usage

The first time you run DAMP it will setup and configure the Docker machine for you so all you need to do is run:

damp up

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 status, halt, destroy etc. For more information on available commands run damp --help.

Sites

To create a site using DAMP you simply need to run:

damp create-site

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 {HOME}/damp (e.g. {HOME}/damp/myapp).

Removing a site is as simple as running:

damp remove-site

and selecting the site to remove.

Contribute

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.

Credits

DAMP was created by Gilbert Pellegrom from Dev7studios. Released under the MIT license.

Keywords

FAQs

Package last updated on 22 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc