Posts

Run the MEAN stack with IaaS

Image
I succeeded in running this MEAN stack on  Heroku , so then I tried it on IaaS (AWS). Installing http-server referring to ※p271, then building the product with $ng build --prod It didn't work well, and I tried using this as a reference, but no good. Finally, after deleting node_module and package-lock.json, when I run npm install, the error disappears. Before that, I didn't do npm install, so I think it might be this reason. After that, I did ng build --prod, accessed the AWS current directory, released the port, moved to the dist folder, and executed http-server. (It will not work if you add the project directory to the URL, so be careful. Also it is necessary to add the port number at the end of the URL) It seems to work with $npm start, but it didn't not go well. ※: Angular web application development start book ------- -8/26 P.S. ------- Although the entry screen appears above, the data stored in the DB is not read. An error also occurs in node server.js, so re-create

Kyoto kanji museum

Image
On 5 August, we went to Kyoto kanji museum . It is recently opend and our son is challenging kanji-kentei(kanji exam) so we tried to go there. This is shijo at Kyoto. Inside there, there are many unique exhibitions and also kanji-trial so we enjoyed very much.  At the first floor, there is a shop and "hoko" is exhibited. Then we walked around shizyou-douri.

Barbecue at takatsuki city

Image
At 24 June, we went to takatsuki forest center  for barbeque. There are shiitake mushroom farm and we took them and bought them. After there, we went to temple near there. I happend to find  kabusan  temple, which is one of 33 sacred temples of west-erea. It is large and not crowded and I liked it very much.

Takoyaki party

Image
Sometimes, we did takoyaki party. Takoyaki, which is very popular kansai(around osaka) foods.(tako means octopus) Our ingredients are below. - octopus - sousage - welsh onion - tempura scraps - takoyaki - cheese - sauce - mayonnaise - green laver - dried bonito - weak flour - egg - water - milk This is takoyaki machine. We bought it about 15 years ago about $8(800 yen). First pour takoyaki soup and put ingredients. Then add takoyaki soup. Then turn around them. It needs some skill. After picking up them, add sauce etc. Finish !

Earthquake happend in Osaka, Japan

Image
Today was terrible, very tired day. This morning, earthquake happend at 7:58 AM. It was 6 weak degree in Japanese indication and big earthquake. In japan, earthquake is not rare but Osaka is second biggest city and it was a big earthquake. I was on the way to Kobe and was at JR Osaka station and waited at platform. Suddenly platform was shaken and everybody sat down. And all trains were stopped. I had waited until noon at Osaka station, sitting at station stairs. But train were stopped except a few under subways. My office is at kobe, west from Osaka about 30 km and almost impossible to go there so I changed to Osaka office by subway. After contacting to kobe office by telephone, e-mail, I came back to my home after working time. At that time, I could take a keihan train to our home so I could go back to my home. I was very lucky because many train had still been stopping at that time. Near my home, some walls were broken. Our hirakata-city is very near to the cent

IT circumstance

Recently, I can study, doing programing, everywhere in any time with not expensive. My gear is cheap but high-performance netbook(lenovo miix 310). And my cloud circumstance are below.  - Connect AWS by tera term, sometimes remote connect using ATOM.  - Use github and stackblitz so my programs on AWS are always syncronized I only use AWS at weekend so weekend's cost is around 50 yen ($0.5) , very cheap. If I want to do programing without AWS, I also use stackblitz so current clowd circumstance is wonderful for prorgaming. And I have a NTT-SPOT free-wifi account because I'm a user of NTT broadband access service so I can enjoy wifi service at many shop (now I'm using it at mister donut coffee shop). And I'm studying programming reading NODE.js programing books which I rent using purblic library's internet service. So if we want to study, we can study with almost no fee and it is fantastic !

A trip to shikoku (day third)

Image
This was final day of our short trip. We planed to walk around ushimado erea and go to okayama kourakuen. I didn't know about ushimado but I like this atmosphere. I liked there because it is not comercialized and this town is "normal" old japanese style as I was a child. Setouchi sea is very calm and I like this silence. There is maejima island and also ferry so we took it. It costed 250 yen(about $2) for a round-trip ticket and 5 minutes on board. Then we had lunch at kitchen kaizoku (pirate). And our last destination was okayama kourakuen and okayama-castle. Kourakuen is one of three japanese famous garden. Last year, we went to kanazawa kenroku-en which is also one of three so we went two of three. Kourakuen is very beautiful garden so we loved it. And okayama castle is a building constructed with reinforced concrete but we enjoyed the view around okayama-city at the top of the castle.