README.md in minke-generator-swift-0.1.0 vs README.md in minke-generator-swift-0.1.4
- old
+ new
@@ -11,54 +11,31 @@
| ----------------------- | |
| <%= application_name %> | The name of the application executable |
| <%= namespace %> | Namespace of the application |
| <%= src_root %> | Source root of the application |
-## Installation
-
-Add this line to your application's Gemfile:
-
-```ruby
-gem 'minke'
-gem 'minke-generator-swift'
-```
-
-And then execute:
-```
-$ bundle
-```
-
-Or install it yourself:
-
-```
-$ gem install minke
-$ gem install minke-generator-swift
-```
-
## Usage
To scaffold a new service run:
```bash
-$ minke -g minke-generator-swift -o ~/nicholasjackson/helloworld
- -a helloworld -n HelloWorld
+$ mkdir service
+$ cd service
+$ docker run --rm -v $(pwd):$(pwd) -w $(pwd) nicholasjackson/minke /bin/bash -c 'source /usr/local/rvm/scripts/rvm && minke -g minke-generator-swift -o $(pwd) -n swift.service -a service'
```
-You can now open the project in [VisualStudio Code](http://code.visualstudio.com) and run your first build.
-
## Build and test with Docker
To run a build with a Docker container, to execute the functional and unit tests you can use the following commands. Please see the main Minke documentation for more information [http://nicholasjackson.github.io/minke/](http://nicholasjackson.github.io/minke/).
### Build Application Code and Execute Unit tests
```bash
$ cd _build
-$ bundle
-$ rake app:test
+$ ./minke.sh rake app:test
```
### Build a Docker image and execute functional tests with Cucumber
```bash
-$ rake app:build_image
-$ rake app:cucumber
+$ ./minke.sh rake app:build_image
+$ ./minke.sh rake app:cucumber
```
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.