Skip to content

Bootstrap a Carrot template repo based on user-picked presets.

License

Notifications You must be signed in to change notification settings

carrot-kpi/create-carrot-template

Repository files navigation


Carrot logo


Carrot is a web3 protocol trying to make incentivization easier and more capital efficient.


License: GPL v3

Create Carrot Template

Create Carrot template allows bootstrapping Carrot template projects in an easier way.

Create Carrot Template works on macOS, Windows, and Linux.
If you're having any issue, please file an issue.

Quick Overview

npx create-carrot-template -k my-template
cd my-template
npm start

If you've installed create-carrot-template globally via npm install -g create-carrot-template, we recommend you uninstall the package using npm uninstall -g create-carrot-template or yarn global remove create-carrot-template to ensure that npx always uses the latest version.

(npx comes with npm 5.2+ and higher.

Get Started Immediately

You don’t need to manually install or configure tools like webpack or Babel, those will come with a preset of your choosing.
Create a project, and you’re good to go.

npx

npx create-carrot-template -k my-template

(npx is a package runner tool that comes with npm 5.2+ and higher, see instructions for older npm versions)

npm

npm init carrot-template my-template

npm init <initializer> is available in npm 6+

It will create a directory called my-template inside the current folder.
Inside that directory, it will clone the chosen presets and install the required dependencies. Once the installation is done, you can open your project folder:

cd my-template

User Guide

Documentation coming soon, stay tuned.

About

Bootstrap a Carrot template repo based on user-picked presets.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published