| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This is the easiest way to get started with DMPRoadmap, as it sets up and deploys a (largely) platform-agnostic and totally sandboxed development environment based on:
It uses Vagrant to deploy two Docker containers, one for the database and the other for the Rails app.
Clone this configuration repository:
git clone https://github.com/DMPRoadmap/roadmap-devenv.gitEnter your local copy:
cd roadmap-devenvConfigure Docker networking that the two containers will use:
docker network create -d bridge --ip-range=172.18.0.0/24 \
--subnet=172.18.0.0/24 --gateway=172.18.0.254 \
dmpbridgeCreate the two containers (this should only take a few minutes):
vagrant upYour DMPRoadmap development instance is up and running! You can now:
vagrant ssh db
vagrant ssh devroadmap-devenv/src/dmproadmap.git//opt/src/dmproadmap.git/You can customize the fork/branch to check out for deployment in the last two lines of Puppet manifest gitclone.pp:
vcsrepo { '/opt/src/dmproadmap.git':
ensure => latest,
owner => vagrant,
group => source,
provider => git,
user => vagrant,
require => Package['git'],
source => 'https://github.com/DMPRoadmap/roadmap.git',
revision => 'development',
}| Back | FazBrowse Home | New Git URL |