This project contains scripts for launching DevShop on Docker for development purposes:
development-prepare.sh: Run this script first. It will prepare the needed source code for devshop, as well as build the containers needed.development-launch.sh: This script is run automatically bydevelopment-prepare.shto launch the containers and install Devmaster.development-destroy.sh: This script removes all traces of the devshop containers and their volumes.
The Vagrantfile in this project is now deprecated, but is still included in the vagrant folder if you wish to use it.
It uses the install.sh file in this repo to provision the vagrant server.
This is the recommended install method for servers as well as vagrant boxes.
See Development with Vagrant for legacy instructions.
The only tools you need on your host machine to develop devshop are:
- Git: Used to clone the source code.
- PHP-CLI: Needed to run Drush.
- Drush: Used to build the Drupal codebase on your host machine.
- Docker version 1.10.0+.
- Docker Compose version 1.6.0+.
-
Clone this Repo and change to it's directory.
git clone git@github.com:opendevshop/devshop.git cd devshop -
Run
development-prepare.shscript to clone the rest of the source code and prepare docker containers. -
That's it! Look for a one-time login link that looks like:
http://devshop.local.computer/user/reset/1/1475596064/EzLbpsTpSgKLJl7GmO0
The development-prepare.sh scripts and development-launch.sh scripts will remain open, following the docker logs. Press CTRL-C to cancel out of the logs if you wish.
More information on how to access the containers is output when you cancel the logs.
DevShop consists of a number of code repositories.
github.com/opendevshop/devshop
If you want to develop the server setup, the standalone install script, the documentation, or improve the Vagrantfile, fork this repo.
Contains:
- DevShop install script: install.sh
- Ansible playbooks: playbook.yml, roles folder.
- Documentation
- Vagrantfile
- build-devmaster.make file: used to build the devshop front-end. (Modify this file to use your fork of devmaster.)
github.com/opendevshop/devmaster
If you want to develop the front-end of devshop:
- Fork this repo (https://github.com/opendevshop/devshop), and create your own branch for your feature or bugfix.
- Edit build-devmaster.make file, and replace the devmaster url and branch with your forked repo url and branch like so:
projects[devmaster][type] = "profile"
projects[devmaster][download][type] = "git"
projects[devmaster][download][url] = "git@github.com:MYUSERNAME/devmaster.git"
projects[devmaster][download][branch] = "dev-MYBRANCH"
See the ./source/devmaster-1.x/profiles/devmaster folder for the fully built devmaster stack.
Think this can be improved? You can edit this file on GitHub and select "Create a new branch for this commit and start a pull request.".
Thanks!