Save 37% off PRO during our Black Friday Sale! »

さくっとGAE/GoでAPIを作って本番環境にリリースする / gaego-api-init-release

42a3fcdaaa492f3e1cf0fe7e6bbf4251?s=47 kyokomi
December 08, 2015

さくっとGAE/GoでAPIを作って本番環境にリリースする / gaego-api-init-release

Gunosy.beer#1 LTで雑に発表したやつ

42a3fcdaaa492f3e1cf0fe7e6bbf4251?s=128

kyokomi

December 08, 2015
Tweet

Transcript

  1. Gunosy.beer#1 LT ͬ͘͞ͱGAE/GoͰAPIΛ࡞ͬͯ ຊ൪؀ڥʹϦϦʔε͢Δ @kyokomi, 2015/12/08 ʮGunosy.beer#1ʯ 1

  2. ࣗݾ঺հ 4 Twitter: @k_yokomi ※1 4 1೥͘Β͍GoͰAPIॻ͍ͯ·͢ 4 ੲ͸Cocos2d-xͱ͔৮ͬͯ·ͨ͠ ʢv3.4͘Β͍·Ͱʣ

    4 ࠷ۙ͸ɺGAE/GoϒʔϜ 4 ܕ݄ਥ 4 ίϯύΠϧϋʔτͷήʔϜ͕޷Έ ※1 ΞΠίϯ͸݄ඣͷᘡᘚ͞ΜͰ͢ɻʢ຾ΓͷԂ༷ ఏڙʣ @kyokomi, 2015/12/08 ʮGunosy.beer#1ʯ 2
  3. աڈʹ࡞ͬͨ΋ͷ঺հ1 4 github.com/kyokomi/slackbot 4 github.com/kyokomi/emoji 4 github.com/kyokomi/hhth 4 github.com/kyokomi/go-docomo/docomo 4

    github.com/kyokomi/goma @kyokomi, 2015/12/08 ʮGunosy.beer#1ʯ 3
  4. github.com/kyokomi/gaego-init GAE/GoϓϩδΣΫτΛαΫοͱ࡞ΔCLIπʔϧ࡞Γ·ͨ͠ɻ ൿ఻ͷMakefile෇͖ ࢖͍ํ $ gaego-init -a <project໊> @kyokomi, 2015/12/08

    ʮGunosy.beer#1ʯ 4
  5. σϞͷલʹલ४උΛઆ໌ 4 Go؀ڥߏஙࡁΈ 4 ؆୯ͩΑʢGoͷΠϯετʔϧͱGOPATHઃఆͱ͔ʣ 4 gcloudπʔϧͱAppEngine؀ڥߏஙࡁΈ 4 ͙͙Ε͹͍͚Δ 4

    ࣄલʹGoogleAppEngineͷϓϩδΣΫτ࡞੒ࡁΈ @kyokomi, 2015/12/08 ʮGunosy.beer#1ʯ 5
  6. ϩʔΧϧͰ࣮ߦ $ make run @kyokomi, 2015/12/08 ʮGunosy.beer#1ʯ 6

  7. ຊ൪ʹdeploy $ make deploy ※࡞੒ͨ͠<project໊>ΛࣄલʹGoogleAppEngineʹ࡞੒ࡁ @kyokomi, 2015/12/08 ʮGunosy.beer#1ʯ 7

  8. ͓ΘΓ @kyokomi, 2015/12/08 ʮGunosy.beer#1ʯ 8