- Initialize Git repository
git init
- Create
.gitignore
file and add the following:node_modules/ *.env
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
const GoogleAuth = require('google-auth-library') | |
const OAuth2Client = GoogleAuth.OAuth2Client | |
const google = require('googleapis') | |
const clientId = '<YOUR_CLIENT_ID>' | |
const clientSecret = '<YOUR_CLIENT_SECRET>' | |
const redirectUri = '<Your URI Callback>' | |
const oauth2Client = new OAuth2Client(clientId, clientSecret, redirectUri) | |
// your oauth method, see documentation |
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
# See list of docker virtual machines on the local box | |
$ docker-machine ls | |
NAME ACTIVE URL STATE URL SWARM DOCKER ERRORS | |
default * virtualbox Running tcp://192.168.99.100:2376 v1.9.1 | |
# Note the host URL 192.168.99.100 - it will be used later! | |
# Build an image from current folder under given image name | |
$ docker build -t gleb/demo-app . |