After you have been developing code for a while, you eventually settle upon the way you want your build environment setup, the defaults you prefer, and the tools and libraries you want to use when building apps.
Rather than starting from scratch on every project, I would suggest that you create a boilerplate project that you can use to jump start your new projects.
You can build yours from scratch or if you find one that has some of the things you want, then you can fork that project and customize it to get it the rest of the way there.
I’ll walk you through this process as I fork a boilerplate of my own.
Why create a custom boilerplate?
- Get productive on new project quickly
- Favorite settings, tools, dependencies
- Let your mind focus on project at hand
- Fork existing repo
- Customize some key parts
- Commit and push
- Episode: CW V010
- Skill level: Beginner with basic git skills
- Basic Git skills
- Published: April 30th, 2015
- Tags: js, nodejs,git,npm,free
- Duration: 4:36
- Git version: 220.127.116.11
cd ~/working # change dir to where clone will be created # use your ssh git clone url, or others https git clone firstname.lastname@example.org:codewinds/base-react-min.git cd base-react-min # customize files git status # see what files have changed git diff # see what changed in the files git commit -a -m "customized for my prefs" git push origin HEAD # push back to github