You should install VirtualBox and Vagrant before you start.
You should create a Vagrantfile in an empty directory with the following content:
You should install VirtualBox and Vagrant before you start.
You should create a Vagrantfile in an empty directory with the following content:
| var debug = process.env.NODE_ENV !== "production"; | |
| var webpack = require('webpack'); | |
| module.exports = { | |
| context: __dirname, | |
| devtool: debug ? "inline-sourcemap" : null, | |
| entry: "./js/scripts.js", | |
| output: { | |
| path: __dirname + "/js", | |
| filename: "scripts.min.js" |
| echo "Creating an SSH key for you..." | |
| ssh-keygen -t rsa | |
| echo "Please add this public key to Github \n" | |
| echo "https://github.com/account/ssh \n" | |
| read -p "Press [Enter] key after this..." | |
| echo "Installing xcode-stuff" | |
| xcode-select --install |
| rm /usr/local/bin/subl; | |
| sudo ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl; |
| /* | |
| * v8_wrap_class.cpp | |
| * | |
| * Created on: 14/01/2013 | |
| * Author: nicholas | |
| * License: public domain | |
| */ | |
| /* CMakeLists.txt | |
| project(v8_wrap_class) |
| var express = require('express'); | |
| var aws = require('aws-sdk'); | |
| var config = require('./config.js'); | |
| aws.config.update({accessKeyId: config.key, secretAccessKey: config.secret}); | |
| aws.config.update({region: 'us-east-1'}); | |
| var app = express(); | |
| app.configure(function(){ |