Skip to content

Instantly share code, notes, and snippets.

@satomixx
Last active August 29, 2015 14:19
Show Gist options
  • Save satomixx/eba0f496230bddfbb063 to your computer and use it in GitHub Desktop.
Save satomixx/eba0f496230bddfbb063 to your computer and use it in GitHub Desktop.
[ionic入門] その1: プロジェクトを作って、localhost や ios simulator や herokuにあげてみる ref: http://qiita.com/tsumekoara/items/8a0604ba2ebab4c12d53
$ npm install -g cordova ionic
$ ionic start myApp sidemenu
$ ionic serve
$ npm install -g ios-sim
$ ionic platform add ios
$ ionic build ios
$ ionic emulate ios
"dependencies": {
"express": "4.8.4", <--- add this line
var express = require('express');
var app = express();
app.use(express.static(__dirname + "/www"));
app.listen(process.env.PORT || 5000);
web: node web.js
$ heroku ps:scale web=1
$ git push heroku master
http://hogehoge.herokuapp.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment