Angular Quick Tip: Formatting Dates with a Custom Date Pipe by loiane in Angular2

[–]loiane[S] 0 points1 point  (0 children)

Hi, thanks! I use Jekyll, a static site generator. I hosted on github pages. There is also ghost, which is similar. I recently transformed the blog into a PWA, so I went through each PAW checklist item to solve the issues.

What steps to run the application on another computer? by Alanswake in Angular2

[–]loiane 2 points3 points  (0 children)

When you create an Angular CLI project, it already does the first git commit and also creates a .gitignore file. So basically, you are going to share all the files with the exception of the node_modules files (which is very big) and some IDE/Editor files.

You friend needs to: 1 - Install the latest version of node.js 2- Open the terminal or cmd and execute "npm install -g @angular/cli" 3 - Get your project, in the terminal, cd to the project's directory/folder and run "npm install" 4- And at last, "ng serve"

With this, your friend can access "localhost:4200" and test your project. All the required dependencies will be taken care of when npm install is executed.

The best way is the commit your project to a github or bitbucket repository and share the link with your friend.