cd target_path python -m HTTPServer 8000これでlocalhost:8000でアクセス出来ます。
ポート番号を既に使っていれば8000を別の使っていないポートに変えて下さい。
cd target_path python -m HTTPServer 8000これでlocalhost:8000でアクセス出来ます。
parts install meteor npm install -g meteorite # for debug npm install -g node-inspector
meteor create プロジェクト名 cd プロジェクト名 meteor add bootstrap meteor add jquery
<head>
</head>
<body>
<div class="container">
{{> tables}}
{{> send}}
</div>
</body>
<template name="send">
<form>
</form>
<input type="button" id="send" value="登録" />
<input type="button" id="update" value="更新" />
<input type="button" id="cancel" value="中止" />
</template>
<template name="tables">
<table>
<thead>
</thead>
<tbody>
{{#each items}}
<tr></tr>
{{/each}}
</tbody>
</table>
</template>
Items = new Meteor.Collection('items');
if (Meteor.isClient) {
Template.ibeacons.items = function () {
};
Template.send.events({
'click #send': function (evt, tmpl) {
},
'click #update': function (evt, tmpl) {
},
'click #cancel': function (evt, tmpl) {
}
});
function clearForm(tmpl) {
}
Template.ibeacons.events({
'click .modify': function (evt, tmpl) {
},
'click .delete': function () {
}
});
}
if (Meteor.isServer) {
Meteor.startup(function() {
if(Items.find().count() === 0) {
// Itemsが0件だった場合、追加
Items.insert(
);
}
});
}
meteor deploy --password プロジェクト名.meteor.com
meteor deploy -delete プロジェクト名.meteor.com
ps -ef | grep meteor | grep node
kill -9 `ps ax | grep meteor | grep node | awk '{print $1}'`
NODE_OPTIONS="--debug" meteor
$ node-inspector Node Inspector v0.7.0-2 info - socket.io started Visit http://127.0.0.1:8080/debug?port=5858 to start debugging.
LOG_PATH=~/log
LOG_KEEP_DAYS=14
find ${LOG_PATH} -name '*.log' -mtime +${LOG_KEEP_DAYS} -exec rm -f {} \;
POD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = PODS.GATE.COM)(PORT = 1521))
)
(CONNECT_DATA =
(SID = ODS)
)
)
sqlplusからこれを使って接続する場合はsqlplus user/password@podで接続出来ます。
sqlplus user/password@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=PODS.GATE.COM)(PORT=1521)))(CONNECT_DATA=(SID=ODS)))
sqlplus USER/PASSWORD@//PODS.GATE.COM:1521/ODS