-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Welcome to the multibasebox wiki!
You can use our scaffolding tool for creating a new project: https://github.com/factorial-io/generator-jaMann
If you prefer to do it manually see the following steps:
Clone a project (lets call it "yourproject") into the projects folder (please adjust the path and repo)
$ git checkout https://github.com/yourproject/yourproject.git multibasebox/projects/yourproject
(needs works)
Make sure the directory name where this repository exists is mentioned correctly in fabfile.yaml, in the key hosts > mbb > docker > projectFolder
When using our full stack you would need to create a docker instance in the multibasebox. Multibasebox will handle the port forwarding using haproxy automatically.
In your projects/yourproject folder
$ fab config:mbb docker:run
You can follow the magic by this command.
$ fab config:mbb docker:ps
Or by visiting multibasebox.dev:1936 which will show the state of the haproxy forwarding. After that do an initial install to create the database and install drupal
$ fab config:mbb install
(if you get a connection error please wait for some more seconds. You can show the logs to see if the box is up and running:)
$ fab config:mbb docker:logs
The naming convention for Multibasebox projects in the yaml file is 'mbb' so running a fabalicous command would be done in the projects/yourprojectfolder like this:
$ fab config:mbb <command>