Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerize fails to accept generate and build as flags on linux. Added link to docker-compose. #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Development

So, you're interested in developing Shokku... nice! Then just read this guide and you'll be up and running with a dev environment in 5 minutes or less!
So, you're interested in developing Shokku... nice! Then just read this guide and you'll be up and running with a dev environment in 5 minutes or less!

## Directory structure

Expand Down Expand Up @@ -65,13 +65,13 @@ After modifying that value to your desire, is recommended to to edit the `/etc/h
After you have modified the values at your will you can run `dockerize.js` script like this:

```bash
$ npm run dockerize -- generate
$ npm run dockerize --generate
```

The templates are rendered and saved in `docker/compose` folder. Now, with those templates rendered you have to generate docker images:

```bash
$ npm run dockerize -- build local
$ npm run dockerize --build local
```

And with the last step finished, you can use docker as usally:
Expand All @@ -80,6 +80,10 @@ And with the last step finished, you can use docker as usally:
$ docker-compose -f docker/compose/docker-compose-yaml up
```

If you get error command not found: docker-compose you need to install it for you OS.
[`docker-compose`](https://docs.docker.com/compose/install/#prerequisites)


Voila! You can open your browser and navigate your domain (or use Postman) to test the API!

## Runing tests
Expand Down