π | ||||
---|---|---|---|---|
Deutsch | English | βοΈ |
This is the main template repository for our projects and the origin of every other template, which is why it shouldn't be used directly for end products. It includes the basic structure and important, so-called dotfiles.
At the moment it includes more specific files (a rollup configuration for example), but those will be removed once we reach 2.0.0 and have a separate repository for them.
"Unordered" lists in this document are ordered by priority from top to bottom, but aren't markdown ordered lists because they don't signify fixed sequences of steps.
This document uses emoji suffixes in some cases to possibly speed up your setup process by highlighting options you may or may not want to take into consideration:
- The suffix π marks a recommended option or extra-step.
- The suffix π€‘ marks a possible but not recommended option.
- The suffixes π (macOS), πͺ (Windows and WSL) and π§ (Linux) mark information or installation steps unique to specific platforms.
If you're a developer, you'll presumably have those or working alternatives, feel free to skip to the Installation section. This guide expects you have Windows, or a Unix or Unix-like operating system (macOS for example) and a modern browser installed. This project should work on every imaginable modern system configuration, but your best bet would be to use a well established and popular one.
-
GitHub Account π
-
Homebrew π
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
-
- macOS π
-
Homebrew π
brew install git
-
Through Xcode π€‘
Installing Git through Xcode, which was a dozen gigabytes large and took an hour to setup last time I checked, is a classic Pyrrhic victory. If you already have Xcode, I guess it's fine to use "their" Git though.
-
- Windows πͺ
- Linux π§
- macOS π
-
-
Install through nvm π
-
macOS, Linux & WSL π
-
Install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
-
Install the latest Node.js
nvm install node
-
-
Windows πͺ
-
Install nvm-windows
-
Install the latest Node.js
nvm install latest
-
-
-
-
Get the template
-
Create a new repository from template π
-
Create a new repository by cloning π€‘
This completely defeats the purpose of the GitHub template feature, because normal clones (and forks) copy the whole commit history (and other things) but not all branches, which normally isn't what you want when creating a new project based on a boilerplate. Read more here.
-
Clone this repository into a new folder
git clone https://github.com/pumpncode/template.git my-new-repository
-
-
-
Set it up
-
Go into your new repository folder
cd my-new-repository
-
Install the dependencies
npm install
-
Because this is a template, the usage depends on what your new project will do. Once everything is installed, you can try running the scripts in the package.json, these make use of every other feature of this template.
This is a hello world function.
console.log(helloWorld()); // logs "Hello World!"
Returns string "Hello World!".
See the current projects and the open issues for a list of proposed features and known issues.
Any contributions you make are greatly appreciated.
See contributing.md for ways to get started.
This project has a code of conduct. By interacting with this repository you agree to follow its terms.
Pumpn Code - [email protected]
Nano Miratus - @nnmrts - [email protected]
Project Link: https://github.com/pumpncode/template
Name | Website | GitHub | |
---|---|---|---|
Nano Miratus | https://pumpn.net/ | @nnmrts | @nnmrts |
MIT Β© Pumpn Code