Skip to content

pumpncode/template

Repository files navigation

🌐
Deutsch English ✍️

stars contributors forks open-issues closed-issues open-prs closed-prs

license dependencies dev-dependencies peer-dependencies

downloads version node

reddit twitter discord

website

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.

Getting Started

Prerequisites

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)"
  • Git

    • macOS 🍎
      • Homebrew πŸ’Ž

         brew install git
      • Binary Installer

      • 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 🐧
  • Node.js

    • Install through nvm πŸ’Ž

      • macOS, Linux & WSL πŸ’Ž

        1. Install nvm

          curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
        2. Install the latest Node.js

          nvm install node
      • Windows πŸͺŸ

        1. Install nvm-windows

        2. Install the latest Node.js

          nvm install latest
    • Download and install directly

  • A source-code editor

Installation

  1. Get the template

    • Create a new repository from template πŸ’Ž

      1. Click "Use this template" Screenshot of "Use this template" button

      2. Fill in the details, check "Include all branches" and click "Create repository from template" Screenshot of Create a new repository from template screen

      3. Clone your new repository

        git clone https://github.com/username/my-new-repository.git
    • 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.

      1. Clone this repository into a new folder

        git clone https://github.com/pumpncode/template.git my-new-repository
  2. Set it up

    1. Go into your new repository folder

      cd my-new-repository
    2. Install the dependencies

      npm install

Usage

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.

helloWorld

This is a hello world function.

Examples

console.log(helloWorld()); // logs "Hello World!"

Returns string "Hello World!".

Roadmap

See the current projects and the open issues for a list of proposed features and known issues.

Contributing

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.

Contact

Pumpn Code - [email protected]

Nano Miratus - @nnmrts - [email protected]

Project Link: https://github.com/pumpncode/template

Acknowledgments

Contributors

Name Website GitHub Twitter
Nano Miratus https://pumpn.net/ @nnmrts @nnmrts

License

MIT Β© Pumpn Code