This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| oc create -f https://github.com/sclorg/s2i-nodejs-container/blob/master/imagestreams/nodejs-rhel7.json -n openshift | |
| oc new-project app-nodejs | |
| oc new-build nodejs:8~https://github.com/hodrigohamalho/sal-frontend --name=sal-frontend-s2i | |
| oc new-build --name=sal-frontend-nginx \ | |
| --docker-image=registry.access.redhat.com/rhscl/nginx-112-rhel7 \ | |
| --source-image=sal-frontend-s2i \ | |
| --source-image-path=/opt/app-root/src/dist/:. \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // named.conf | |
| // | |
| // Provided by Red Hat bind package to configure the ISC BIND named(8) DNS | |
| // server as a caching only nameserver (as a localhost DNS resolver only). | |
| // | |
| // See /usr/share/doc/bind*/sample/ for example named configuration files. | |
| // | |
| // See the BIND Administrator's Reference Manual (ARM) for details about the | |
| // configuration located in /usr/share/doc/bind-{version}/Bv9ARM.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $TTL 1D | |
| $ORIGIN example.com. | |
| @ IN SOA example.com. root.cloudapps.example.com. ( | |
| 10 ; serial | |
| 1D ; refresh | |
| 1H ; retry | |
| 1W ; expire | |
| 3H ) ; minimum | |
| IN NS ns1.example.com. | |
| ns1 IN A 127.0.0.1 |
In the previous version, when you didn't install the driver plugin, Minishift would fail with an issue.
$ minishift start
These instructions assume you are using Minishift 1.0.1 or newer as your OpenShift installation.
You'll also need a wsk binary in your $PATH to interact with
OpenWhisk after it's deployed. Download the latest version for your OS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* A bare-bones GithubClient, just used for commits */ | |
| function GithubClient(owner, repo, username, passwordOrToken) { | |
| this.owner = owner; | |
| this.repo = repo; | |
| this.username = username; | |
| this.passwordOrToken = passwordOrToken; | |
| } | |
| /* |
- install dnsmasq
$ brew install dnsmasq
...
$ cp /usr/local/opt/dnsmasq/dnsmasq.conf.example /usr/local/etc/dnsmasq.conf
- edit
/usr/local/etc/dnsmasq.conf
address=/local/127.0.0.1