ng-my
ng-my copied to clipboard
NG-MY official website
NG-MY official website
Working on project:
- always create your own branch and work on it
- create a PR and merge to master only when it's ready
- Travis will triggered when PR is merged, auto deploy to ng-my production
To start the project:
- Install nodejs v10 and above
- run "npm"
- run "npm start"
To deploy the project manually:
- run "npm install -g firebase-tools"
- run "firebase login" then login with your google account
- run "npm run deploy"
How to create a new post
- Create a PR
- Add your new post introduction in
/projects/site2019/src/assets/data/posts.json
follow the existing format - the details here will be used for both the web content & SEO - Create a text file in
/projects/site2019/src/assets/posts
follow the other existing post. The file name must be same as the post id you create in previous step. File content is inmarkdown
format. You can usehttps://dillinger.io
to write your articles in markdown and previous it. - If you have any images that you want to upload, can add to this folder:
/projects/site2019/src/assets/imgs/posts
. The file name is not restricted, you can put any. In your article you can refer to the image with url like this/assets/imgs/posts/{your-image-name}.jpg
. Always reduce your image size withhttps://squoosh.app/
before upload. - All ready? Send to me!😁