I hereby claim:
- I am nickdandakis on github.
- I am nickdandakis (https://keybase.io/nickdandakis) on keybase.
- I have a public key ASDsszdCc7d-7Z9eHD1Tray5BYLKFyKF3BdKtTYem7Adsgo
To claim this, I am signing this object:
// npm install request and cheerio, if these aren't working | |
var request = require('request'); | |
var cheerio = require('cheerio'); | |
var sendGIFToClient = function(url) { | |
// TODO | |
console.log(url); | |
}; | |
var sendWordToClient = function(word, definition, example) { |
var Botkit = require('botkit'); | |
if(!process.env.SLACK_CLIENT_ID || | |
!process.env.SLACK_CLIENT_SECRET || | |
!process.env.SLACK_VERIFICATION_TOKEN) { | |
console.log('Error: Specify SLACK_CLIENT_ID, SLACK_CLIENT_SECRET and SLACK_VERIFICATION_TOKEN in environment'); | |
process.exit(1); | |
} | |
var config = {} |
I hereby claim:
To claim this, I am signing this object:
Live demo: http://thepoint.surge.sh
Include a suedebrush.png file that you want to use as your suede texture
FROM node:alpine | |
# Create app directory | |
RUN mkdir -p /usr/src | |
WORKDIR /usr/src | |
# Install app dependencies | |
COPY package.json /usr/src/ | |
COPY package-lock.json /usr/src/ | |
RUN npm install |
{ | |
"AWSEBDockerrunVersion": "1", | |
"Image": { | |
"Name": "bestest-aws-org.dkr.ecr.us-east-1.amazonaws.com/token/this-web-scale:latest", | |
"Update": "true" | |
}, | |
"Ports": [ | |
{ | |
"ContainerPort": "3000" | |
} |
{ | |
"name": "this-web-scale", | |
"version": "x.x.x", | |
"scripts": { | |
"dev": "node server.js", | |
"build": "NODE_ENV=production next build", | |
"start": "NODE_ENV=production node server.js", | |
"dockerize": "npm run build:docker && npm run tag:docker && npm run push:docker && npm run tag-latest:docker && npm run push-latest:docker", | |
"deploy": "npm run deploy:staging", | |
"deploy:staging": "eb use token-staging && eb deploy --label v$npm_package_version --verbose", |
{ | |
"name": "this-web-scale", | |
"version": "x.x.x", | |
"scripts": { | |
"dev": "node server.js", | |
"build": "NODE_ENV=production next build", | |
"start": "NODE_ENV=production node server.js", | |
"dockerize": "npm run build:docker && npm run tag:docker && npm run push:docker && npm run tag-latest:docker && npm run push-latest:docker", | |
"deploy": "npm run deploy:staging", | |
"deploy:staging": "eb use token-staging && eb deploy --label v$npm_package_version --verbose", |
branch-defaults: | |
develop: | |
environment: this-web-scale-production | |
deploy: | |
artifact: Dockerrun.aws.json | |
environment-defaults: | |
this-web-scale-production: | |
branch: null | |
repository: null | |
global: |
{ | |
"name": "this-web-scale", | |
"version": "0.0.1", | |
"scripts": { | |
"dev": "node server.js", | |
"build": "NODE_ENV=production next build", | |
"start": "NODE_ENV=production node server.js", | |
"dockerize": "npm run build:docker && npm run tag:docker && npm run push:docker && npm run tag-latest:docker && npm run push-latest:docker", | |
"deploy": "eb use this-web-scale-production && eb deploy --label v$npm_package_version --verbose", | |
"build:docker": "docker build -t $npm_package_config_docker_image:$npm_package_version -t $npm_package_config_docker_image:latest .", |