Skip to content

Instantly share code, notes, and snippets.

@yukinagae
Last active August 29, 2015 14:17
Show Gist options
  • Select an option

  • Save yukinagae/d2b283eb516dcefcd4ad to your computer and use it in GitHub Desktop.

Select an option

Save yukinagae/d2b283eb516dcefcd4ad to your computer and use it in GitHub Desktop.

Revisions

  1. yukinagae revised this gist Mar 27, 2015. No changes.
  2. yukinagae created this gist Mar 27, 2015.
    1 change: 1 addition & 0 deletions file0.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    c:\> md c:\data\db
    1 change: 1 addition & 0 deletions file1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    c:\> C:\Program Files\MongoDB\Server\3.0\bin\mongod.exe
    2 changes: 2 additions & 0 deletions file10.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    heroku login
    heroku create {appname}
    1 change: 1 addition & 0 deletions file11.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    git push heroku master
    1 change: 1 addition & 0 deletions file12.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    heroku open
    1 change: 1 addition & 0 deletions file13.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    https://{appname}.herokuapp.com/
    1 change: 1 addition & 0 deletions file14.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    heroku logs
    1 change: 1 addition & 0 deletions file15.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    heroku addons:add mongolab
    1 change: 1 addition & 0 deletions file16.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    web: target/universal/stage/bin/{appname} -Dhttp.port=${PORT} -Dmongodb.uri=$MONGOLAB_URI
    1 change: 1 addition & 0 deletions file17.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    web: target/universal/stage/bin/play-mongo-knockout -Dhttp.port=${PORT} -Dmongodb.uri=$MONGOLAB_URI
    4 changes: 4 additions & 0 deletions file18.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    git add Procfile
    git commit -m "add Procfile"
    git push heroku master
    heroku open
    24 changes: 24 additions & 0 deletions file2.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    2015-03-27T08:36:36.181+0900 I CONTROL Hotfix KB2731284 or later update is not installed, will zero-out data files
    2015-03-27T08:36:36.190+0900 I JOURNAL [initandlisten] journal dir=C:\data\db\journal
    2015-03-27T08:36:36.191+0900 I JOURNAL [initandlisten] recover : no journal files present, no recovery needed
    2015-03-27T08:36:36.208+0900 I JOURNAL [durability] Durability thread started
    2015-03-27T08:36:36.209+0900 I CONTROL [initandlisten] MongoDB starting : pid=8008 port=27017 dbpath=C:\data\db\ 64-bit host=ws-nagae-PC
    2015-03-27T08:36:36.209+0900 I CONTROL [initandlisten] targetMinOS: Windows 7/Windows Server 2008 R2
    2015-03-27T08:36:36.212+0900 I CONTROL [initandlisten] db version v3.0.1
    2015-03-27T08:36:36.216+0900 I CONTROL [initandlisten] git version: 534b5a3f9d10f00cd27737fbcd951032248b5952
    2015-03-27T08:36:36.219+0900 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1j-fips 15 Oct 2014
    2015-03-27T08:36:36.219+0900 I JOURNAL [journal writer] Journal writer thread started
    2015-03-27T08:36:36.223+0900 I CONTROL [initandlisten] build info: windows sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1') BOOST_LIB_VERSION=1_49
    2015-03-27T08:36:36.229+0900 I CONTROL [initandlisten] allocator: system
    2015-03-27T08:36:36.232+0900 I CONTROL [initandlisten] options: {}
    2015-03-27T08:36:36.247+0900 I NETWORK [initandlisten] waiting for connections on port 27017
    2015-03-27T08:36:36.707+0900 I NETWORK [initandlisten] connection accepted from 127.0.0.1:50109 #1 (1 connection now open)
    2015-03-27T08:36:36.708+0900 I NETWORK [initandlisten] connection accepted from 127.0.0.1:50110 #2 (2 connections now open)
    2015-03-27T08:36:36.708+0900 I NETWORK [initandlisten] connection accepted from 127.0.0.1:50111 #3 (3 connections now open)
    2015-03-27T08:36:36.712+0900 I NETWORK [initandlisten] connection accepted from 127.0.0.1:50113 #4 (4 connections now open)
    2015-03-27T08:36:36.715+0900 I NETWORK [initandlisten] connection accepted from 127.0.0.1:50114 #5 (5 connections now open)
    2015-03-27T08:36:36.718+0900 I NETWORK [initandlisten] connection accepted from 127.0.0.1:50115 #6 (6 connections now open)
    2015-03-27T08:36:36.722+0900 I NETWORK [initandlisten] connection accepted from 127.0.0.1:50116 #7 (7 connections now open)
    2015-03-27T08:36:36.725+0900 I NETWORK [initandlisten] connection accepted from 127.0.0.1:50117 #8 (8 connections now open)
    2015-03-27T08:36:36.727+0900 I NETWORK [initandlisten] connection accepted from 127.0.0.1:50118 #9 (9 connections now open)
    2015-03-27T08:36:36.730+0900 I NETWORK [initandlisten] connection accepted from 127.0.0.1:50119 #10 (10 connections now open)
    1 change: 1 addition & 0 deletions file3.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    cd [プロジェクトのルートディレクトリ]
    1 change: 1 addition & 0 deletions file4.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    activator.bat
    1 change: 1 addition & 0 deletions file5.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    ./activator
    1 change: 1 addition & 0 deletions file6.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    [play-mongo-knockout] $ run
    7 changes: 7 additions & 0 deletions file7.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    [play-mongo-knockout] $ run

    --- (Running the application from SBT, auto-reloading is enabled) ---

    [info] play - Listening for HTTP on /0:0:0:0:0:0:0:0:9000

    (Server started, use Ctrl+D to stop and go back to the console...)
    1 change: 1 addition & 0 deletions file8.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    cd [プロジェクトのルートディレクトリ]
    3 changes: 3 additions & 0 deletions file9.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    git init
    git add .
    git commit -m "init"