Skip to content
Snippets Groups Projects
Commit da03182e authored by Marin Jankovski's avatar Marin Jankovski
Browse files

Merge branch 'readme-improvements' into 'master'

Readme Improvements

Not sure about this, still a FIXME in there.
parents 6c67c706 ea4c2cfc
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -2,11 +2,18 @@ This repository stores all the dependency cookbooks of the GitLab cookbook as re
 
#### Usage
 
* Create a custom layer or use a predefined `Rails app server` layer.
* Edit the layer
* Under `Custom Chef Recipes` supply the url to this repository
* Create a custom stack
* Select the `Advanced` dropdown
* Set `Use custom chef coobooks` to Yes
* Under `Repository URL` supply the url to this repository: `https://gitlab.com/gitlab-com/cookbook-gitlab-opsworks.git` (no SSH key or branch/revision needed)
* Under `Custom Chef JSON` supply the JSON of the custom setting for your instance. You can find example in the [cookbook repository](https://gitlab.com/gitlab-org/cookbook-gitlab/blob/master/doc/production.md)
* Save the stack by pressing `Add Stack`
* Go to `Layers` and select `Add layer`
* Under `Layer type` select custom and save
* Select `edit` of newly created layer
* In `Custom Chef Recipes` section
* Under `Setup` write `gitlab::setup` and press the + sign to add
* Under `Deploy` write `gitlab::deploy` and press the + sign to add
* Save changes made to the layer (Scroll to the bottom of the page for the Save button)
* Go to Instances
* Create a new instance(or use an existing one) and add the previously edited layer
* Create a new instance (we recommand a c3.large) and add the previously edited layer
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment