SakuhinDB's Administrator's blog for site & tech info

[Mobile version(QRCode)] Total views:65,473 / Applauds for blog:30
Welcome to my page. I am an adminisrator of this site.
If you are this db's user, please contact with me by private mail. If not, please contact with me by email or twitter or facebook
People who saw this page with login status
nesthersancho / Kevin Echavarria / Carlos Ross / uhs / jakesancho / L(&"_"&) / jiaming / HUNGRY SPIDER / kankou / kankou drame / RyanK / mango / A / Love and peace / ELT / Arancia / DONP
Access record[Graph / PV Info.(Past 1 day / Past 1 week) / Access from outside (Yesterday / Past 1 week) / Vistors's list]
ProfilePmail(Mail)
Inbox   /Send   /Sent
Reviews(List   /Limit)
Poll   /Agree:Got   /Sent
Fan
Works/Music
Blog
[Write]
Links
My Play List
 Created dateCategoryArticle title
12018/03/13 How to develop the service..
22018/03/08 Comparison of CMS(Gatsby, ..
32018/03/04MeteorTune up meteor
42018/02/01JavaScript(n..How to deal with: WARN reg..
52018/01/14ScrumRetrospective of the way o..
62018/01/02DjangoDjango + MongoDB
72017/12/31AWSIntroduction AWS's service..
82017/12/24Digital Life..How to make your mac state..
92017/12/22Project mana..What is KPI of engineer?
102017/12/08AWSTry of new AWS services
=>Older article Cloud9
 Created dateNameRecent messages

1.
2018/03/13 "How to develop the service using gatsby"
[Show only this article / Modify / Delete / Send trackback / Add to the shared category]

1. Preparation
2. Start a project

1. Preparation

https://www.gatsbyjs.org/

npm install --global gatsby-cli
2. Start a project

PJ=vpsranking-gatsby
gatsby new $PJ;
cd $PJ;
gatsby develop
gatsby build
gatsby serve

Add comment to this article

2.
2018/03/08 (Updated 2018/03/13) "Comparison of CMS(Gatsby, Hougo, Netlifycms, Wodpress)"
[Show only this article / Modify / Delete / Send trackback / Add to the shared category]

1. Comparison
2. How to use
    1. Gatsbyjs
    2. Netlifycms
        1. Pros
        2. Cons
    3. Hugo
    4. React Static
    5. Wordpress
3. Conclusion

1. Comparison


SoftwareGatsbyNetlifycmsHugoReact StaticWordpress
Github Star19466441923879403810633
ProCan use latest technology easily    
GraphQLO    
i18n  O  
PWAO    
ReactO    
StaticO    

2. How to use


    1. Gatsbyjs

https://www.gatsbyjs.org/docs/
npm install --global gatsby-cli
gatsby new gatsby-site
gatsby develop
gatsby build
gatsby serve

Deployment can be done following the procedure of
https://www.gatsbyjs.org/docs/deploy-gatsby/
    2. Netlifycms

You can create starter web site and repository if you have github account.
      1. Pros

Initiation is easy
      2. Cons

After coming back from GUI installation, I felt what I should do next parted from CLI flow.
    3. Hugo


https://gohugo.io/getting-started/quick-start/
brew install hugo
hugo version
hugo new site quickstart
cd quickstart;\
git init;\
git submodule add https://github.com/budparr/gohugo-theme-ananke.git themes/ananke;

# Edit your config.toml configuration file
# and add the Ananke theme.
echo 'theme = "ananke"' >> config.toml
hugo new posts/my-first-post.md
hugo server -D

vi config.toml
    4. React Static

npm install -g react-static
react-static create
cd my-static-site
yarn start # or react-static start
yarn stage # or react-static build --staging
yarn serve
yarn build
    5. Wordpress

Use static plugin
https://wordpress.org/plugins/simply-static/
3. Conclusion

As overall, it seems Gatsby is best tool for me to use for creation of static web page using react.

Add comment to this article

3.
2018/03/04 "Meteor > Tune up meteor"
[Show only this article / Modify / Delete / Send trackback / Add to the shared category]

meteor --extra-packages bundle-visualizer --production;

Add comment to this article

4.
2018/02/01 "JavaScript(node.js) > How to deal with: WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning EINTEGRITY:..."
[Show only this article / Modify / Delete / Send trackback / Add to the shared category]

rm ./package-lock.json
rm -r ./node_modules
npm cache clear --force

Add comment to this article

5.
2018/01/14 "Scrum > Retrospective of the way of scrum itself"
[Show only this article / Modify / Delete / Send trackback / Add to the shared category]

1. Purpose of this document
2. In the case of your own personal project
    1. First create velocity list first with hours and example

1. Purpose of this document

Improve the quality of scrum and sprint. As the result, I want to get

- Better estimation
- Better concentration to achieve the goal
- Better strategy construction

There are 2 cases which we should consider.
Whether this is PJ "only for me" or for the team.
2. In the case of your own personal project


    1. First create velocity list first with hours and example


11 hourFix of typo, Restart KPI
44 hoursUpdate VPS blog
88 hoursCreate tech blog based on wordpress & php7
1212 hoursRelease mobile app
1616 hoursStart the crawling process for online manga (laravel)

If you do your personal project belonging to a company, weekend is your main time.
So maximum task should be less than 2 days.

At the weekend, you can get 6 points as maximum.
So as plan

Saturday8
Sunday8
Monday4
Tuesday4
Wednesday4
Thursday4
Friday4

Total = 36
So the list of task should not exceed 27 points.

And you have to commit to the achievement.

And you should count how many hours you actually used by using web stopwatch tool like this.
http://stopwatch.web-tool.net/

Add comment to this article

6.
2018/01/02 (Updated 2018/01/04) "Django > Django + MongoDB"
[Show only this article / Modify / Delete / Send trackback / Add to the shared category]

1. How to start Django 2.0

1. How to start Django 2.0


On Mac

brew install python3;
python3 --version;

PJ=webmangadb;
mkdir $PJ;
cd $PJ;

echo -e "__pycache__/\n*.py[cod]" > .gitignore

python3 -m venv myenv;
source myenv/bin/activate;
pip freeze;
pip install django;

PJ=webmangadb
django-admin startproject $PJ;

cd $APP;
python manage.py runserver;

# Confirm at
# http://127.0.0.1:8000/
# If you want to make it run in different port, for example 8080, type following command
# python manage.py runserver 8080

vi $PJ/settings.py

# If you use postgresql
# Change from sqlite3 to postgresql
DATABASES = {
# 'default': {
# 'ENGINE': 'django.db.backends.sqlite3',
# 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
# }
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'webmangadb',
'USER': 'USERNAME',
'PASSWORD': 'PASSWORD',
'HOST': '127.0.0.1',
'PORT': 5432,
}
}

APP=works;
python manage.py startapp $APP;

http://localhost:8000/admin/

python manage.py makemigrations;

python manage.py migrate;

python manage.py createsuperuser;

Add comment to this article

7.
2017/12/31 (Updated 2017/12/28) "AWS > Introduction AWS's service in January of 2018"
[Show only this article / Modify / Delete / Send trackback / Add to the shared category]

1. About this document
  1. Compute
  2. Storage
  3. Database
  4. Migration
  5. Networking & Content Delivery
  6. Developer Tools
  7. Management Tools
  8. Media Services
  9. Machine Learning
  10. Analytics
  11. Security, Identity & Compliance
  12. Mobile Services
  13. AR & VR
  14. Application Integration
  15. Customer Engagement
  16. Business Productivity
  17. Desktop & App Streaming
  18. Internet of Things
  19. Game Development

1. About this document

List up AWS's service and explain how we can make use of them based on actual usage by me.
The level of "Useful for?" is described as
Everyone
Sometimes
Limited
  1. Compute

ServiceUseful for?ExplanationMy usage
EC2SometimesEC2 (Elastic Compute) is basis of AWS. But its cost is not best if we compare with instances of VPS. Basically EC2 is useful with combination with other AWS service to reduce human cost and when you try to minimize the down time as much as possible even if you have to pay additional fee. So if you do your business only by yourself, this may not be the best choice.If I work not for myself, I will use EC2.
LightsailLimitedVPS service by AWS. But if we use VPS, I think we don't have to use AWS because its spec is limited compared to the price. 
Elastic Container ServiceSometimesFor dockerJust seeing
LambdaSometimes  
BatchLinited  
Elastic BeanstalkLinited  

  2. Storage

ServiceUseful for?ExplanationMy usage
S3Everyone  
EFSSometimes  
GlacierEveryone  
Storage GatewayLimited  

  3. Database

ServiceUseful for?ExplanationMy usage
RDSEveryone  
DynamoDBSometimes  
ElastiCacheSometimes  
Amazon RedshifLimitedFor datawarehouse. But the cost is not so cheap. 

  4. Migration

ServiceUseful for?ExplanationMy usage
AWS Migration HubLimited  
Application Discovery ServiceLimited  
Database Migration ServiceLimited  
Server Migration ServiceLimited  
SnowballLimited  

  5. Networking & Content Delivery

ServiceUseful for?ExplanationMy usage
VPCEveryone  
CloudFrontEveryone  
Route 53Everyone  
API GatewaySometimes  
Direct ConnectLimited  

  6. Developer Tools

ServiceUseful for?ExplanationMy usage
CodeStarLimited  
CodeCommitLimited  
CodeBuildLimited  
CodeDeploySometimes  
CodePipelineLimited  
Cloud9Limited  
X-RayLimited  

  7. Management Tools

ServiceUseful for?ExplanationMy usage
CloudWatchEveryone  
CloudFormationLimited  
CloudTrailLimited  
ConfigLimited  
OpsWorksLimited  
Service CatalogLimited  
Systems ManagerLimited  
Trusted AdvisorLimited  
Managed ServicesLimited  

  8. Media Services

ServiceUseful for?ExplanationMy usage
Elastic Transcoder_Limited   
Kinesis Video Streams_Limited   
MediaConvert_Limited   
MediaLive_Limited   
MediaPackage_Limited   
MediaStore_Limited   
MediaTailor_Limited   

  9. Machine Learning

ServiceUseful for?ExplanationMy usage
Amazon SageMaker_Limited   
Amazon Comprehend_Limited   
AWS DeepLens_Limited   
Amazon Lex_Limited   
Machine Learning_Limited   
Amazon Polly_Limited   
Rekognition_Limited   
Amazon Transcribe_Limited   
Amazon Translate_Limited   

  10. Analytics

ServiceUseful for?ExplanationMy usage
AthenaLimited  
EMRLimited  
CloudSearchLimited  
Elasticsearch ServiceSometimes  
KinesisLimited  
QuickSightSometimes  
Data PipelineLimited  
AWS GlueLimited  

  11. Security, Identity & Compliance

ServiceUseful for?ExplanationMy usage
IAMEveryone  
CognitoSometimes  
GuardDutyLimited  
InspectorLimited  
Amazon MacieLimited  
AWS Single Sign-OnLimited  
Certificate ManagerEveryone  
CloudHSMLimited  
Directory ServiceLimited  
WAF & ShieldSometimes  
ArtifactLimited  

  12. Mobile Services

ServiceUseful for?ExplanationMy usage
Mobile HubLimited  
AWS AppSyncLimited  
Device FarmLimited  
Mobile AnalyticsLimited  

  13. AR & VR

ServiceUseful for?ExplanationMy usage
Amazon SumerianLimited  

  14. Application Integration

ServiceUseful for?ExplanationMy usage
Step FunctionsLimited  
Amazon MQLimited  
Simple Notification ServiceEveryone  
Simple Queue ServiceSometimes  
SWFLimited  

  15. Customer Engagement

ServiceUseful for?ExplanationMy usage
Amazon ConnectLimited  
PinpointSometimes  
Simple Email ServiceEveryone  

  16. Business Productivity

ServiceUseful for?ExplanationMy usage
Alexa for BusinessLimited  
Amazon ChimeLimited  
WorkDocsLimited  
WorkMailSometimes  

  17. Desktop & App Streaming

ServiceUseful for?ExplanationMy usage
WorkSpacesLimited  
AppStream 2.0Limited  

  18. Internet of Things

ServiceUseful for?ExplanationMy usage
AWS IoTLimited  
IoT Device ManagementLimited  
Amazon FreeRTOSLimited  
AWS GreengrassLimited  

  19. Game Development

ServiceUseful for?ExplanationMy usage
Amazon GameLiftLimited  


Add comment to this article

8.
2017/12/24 "Digital Life Hack > How to make your mac stateless"
[Show only this article / Modify / Delete / Send trackback / Add to the shared category]

How to make your mac stateless is important because it will enable us to switch from 1 pc to another.

Add comment to this article

9.
2017/12/22 "Project management > What is KPI of engineer?"
[Show only this article / Modify / Delete / Send trackback / Add to the shared category]

Contribution to the business (What he developed or delivered)
Correctness of estimation
Quality of the software
How soon he can achieve the work
Can he create more than we expect?

Add comment to this article

10.
2017/12/08 (Updated 2017/12/14) "AWS > Try of new AWS services"
[Show only this article / Modify / Delete / Send trackback / Add to the shared category]

1. Launch template

  1. Launch template

Actually we have to specify many and have to find the reason of why it cannot bring the instance up.
So it looks not so useful.

Add comment to this article

=>Older article Cloud9
Subscribe to RSS
RSS
Display Style of blog
List/Mobile(QRCode)
Term
Category
All
1.Japan
2.Atlassian's products
3.Self
4.Development of this site
5.Japanese comics
6.Japanese anime
7.Weekly hot news of Japanese culture
8.OP/ED/PV
9.Japanese game
10.Ranking
11.Japanese Comics (Manga)
12.Search Engine
13.Japanese drama
14.Japanese otaku culture
15.Programming
16.Ineternet world
17.Movie
18.C/C++
19.BerkeleyDB
20.Apache programming
21.Spam
22.Meteor
23.Marketing
24.Python
25.Scrum
26.JIRA
27.Git
28.CI
29.Jenkins
30.AWS
31.Operation
32.Singapore
33.Cloud
34.Mysql Cluster
35.DevOps
36.Bitbucket
37.Xamarin
38.Good and new
39.Monitoring
40.JavaScript(node.js)
41.React
42.Phillipines
43.Hiring
44.Python
45.SEO
46.Malaysia
47.Mongodb
48.Perl
49.Docker
50.Life hack
51.Dance
52.QA
53.Mysql
54.Digital Life Hack
55.Project management
56.Django
57.Gatsby
Sayings from S-Cry-Ed

Rule in this world is speed. Even stupid person can write cool novel if he can spend 20 years for it.

If someone helped me, I will help him in return, which is my rule.

To become stronger, consider what is cowardliest thinking. And rebel against the thinking, which will make you stronger.



I am Japanese but working for some English sites.

Doctor Job Career
Nurse Job Career
Top Page top MetaSeachJP Works