日本百名山の登頂の軌跡(春山から冬山まで )今まで、百名山28座完成!

圖片
日本百名山の山行歴(春山から冬山まで )

(無雪期) 丹沢主稜線縦走、日光男体山、立山三山、剱岳(別山尾根)、白馬三山縦走、後立山テント泊縦走(白馬八方〜針の木)、穂高〜表銀座縦走(岳沢〜槍ヶ岳〜燕岳)、折立~薬師岳~黑部五郎岳〜鷲羽岳~水岳〜新穂高温泉 (テント担いて縦走)、焼岳、富士山(吉田ルート)、甲斐駒ヶ岳、小仙丈ヶ岳、白根三山縦走(テント担いて縦走)、伯耆大山、石鎚山、屋久島中心部縱走
(積雪期、残雪期) 利尻山、蔵王山、安達太良山、谷川岳(天神尾根)、八ヶ岳の赤岳(文三郎尾根〜地蔵尾根)、唐松岳、雲取山(鴨沢ルート)、奥穂高岳(涸沢から)、富士山(吉田ルート 冬と春)、伊吹山、石鎚山、木曽駒ヶ岳、西穂高岳
山の名前標高(m)登頂記録1利尻岳(りしりだけ)1721完成(春)2羅臼岳(らうすだけ)1660-3斜里岳(しゃりだけ)1547-4阿寒岳(あかんだけ)1499-5大雪山(たいせつざん)2291-6トムラウシ山(とむらうしやま)2141-7十勝岳(とかちだけ)2077-8幌尻岳(ぽろしりだけ)2052-9羊蹄山(ようていざん)1898-10岩木山(いわきさん)1625-11八甲田山(はっこうださん)1584-12八幡平(はちまんたい)1613-13岩手山(いわてさん)2038-14早池峰山(はやちねさん)1917-15鳥海山(ちょうかいさん)2236-16月山(がっさん)1984-17朝日岳(あさひだけ)1870-18蔵王山(ざおうさん)1841撤退(冬)19飯豊山(いいでさん)2128-20吾妻山(あずまさん)2035-21安達太良山(あだたらやま)1699完成(冬)22磐梯山(ばんだいさん)1816-23

Running PHP application on Heroku (Mac OS X)


Heroku is a very popular PaaS (Platform as a Service) cloud hosting service which allows you to deploy various applications, especially Ruby on Rails application. Heroku doesn't charge anything to sign up and has a free service upto 5 MB usage of PostgreSQL database, that's enough to used for your development environment. Heroku is majorly to Deploy Ruby on Rails, Node.js, Java, Clojure and Django apps, but you can also run any type of app (like PHP).

The PHP support was launched in partnership with Facebook, to attract Facebook application  developers to Heroku's cloud platform (Heroku support PHP). In this post, you will learn how to deploy PHP project on Heroku. I assume that you already signed up with Heroku and configured your SSH keys with Heroku servers. If you haven't done it already, follow these instructions.

You can try it out for yourself by just creating a new project folder with an index.php file in it, then creating a Heroku project. When you push to Heroku, they'll automatically identify it as PHP and compile/install Apache and PHP into your slug.

$ mkdir PROJECT_NAME
$ cd PROJECT_NAME
$ git init
$ git add .
$ git commit -m "Initial commit"

Go to github.com and create a new repository

$ git remote add origin git@github.com:YOUR_USER_NAME/PROJECT_NAME.git
$ git push origin master

Installing the heroku command line client:
If you are using a Mac, install the following version of the heroku command line client (toolbelt). http://toolbelt.herokuapp.com/osx/download

Creating an application on heroku is easy, you just need to run the following command:

$ heroku create PROJECT_NAME --stack cedar

Heroku uses PostgreSQL as its default database but also support MySQL. You can use either Heroku's Postgres-based shared DB storage or a cloud-hosted MySQL like Amazon RDSClearDB MySQL Database or Xeround Cloud DB for your PHP apps on Heroku. (Amazon RDS is a service that allows you to set up, operate and scale a dedicated MySQL database server on top of EC2. You can use Amazon's Relational Database Service (RDS) addon on Heroku.)

$ heroku addons:add shared-database:5mb

Retrieve the database credentials by following command:

$ heroku config

Now, the fun part – push the modified code up to Heroku with git push heroku master:

$ git push heroku master

The output should look something like this:

If you get this error below, make sure the index.php file is under your project folder, and run the command: $ git add .

Setting up database:

I'm familiar with MySQL database, that why I'm choosing ClearDB MySQL database with FREE plan. Run the following command to install the addon:

$ heroku addons:add cleardb:ignite
$ heroku config

$ heroku config:add DATABASE_URL=mysql://db_user:password@db_server/db_schema

How do I import a MySQL dumpfile into the database?

$ mysql -u db_user -p -h db_server db_schema < db_dump_file.sql

Now you can login to mysql server from unix shell or GUI tool (like MySQL Workbench) to check your database.

Finally, you may want to change the database setting in the PHP project. (For this example, I have to configure my config.class.php file)

After that, run the following command:

$ git commit -am "Changed db setting to MySQL"
$ git push heroku master

Congratulations! you've just created your PHP application on Heroku. :)
or just run "$ heroku open"

You can use the "$ heroku logs" command to retrieve this log stream (in streaming mode if you add the –tail options).

Heroku Documentation:


Have fun!

熱門文章

[轉載] 洛克菲勒寫給兒子的38封信(全文)

2019, July 21【花蓮秀林】羊頭山一日單攻。中橫四辣之老闆這盤好像不會辣

Dec 31, 2011 東北雪の鄉&北海道 跨年自由行~卷四。青森・奧入瀨溪、十和田湖、十和田神社、弘前公園、弘前城

【南投信義】玉山國家公園散步★塔塔加六山之三:鹿林山、麟趾山、鹿林前山&八通關古道之雲龍瀑布健行

2019.6.15~16【中國安徽】登黃山,天下無山|黃山兩天一夜自助旅行

日本の登山の歷史

斗六市70年老店 山姆紅燒羊肉爐

文章列表

聯絡我

名稱

以電子郵件傳送 *

訊息 *