Git Product home page Git Product logo

tenpureto's Introduction

tenpureto CI codecov

Introduction

tenpureto is a tool that allows to easily bootstrap software projects from a template. Almost every programming language ecosystem provides some bootstrapping solution. What makes tenpureto different is simplicity with a reasonable amount of flexibility:

  • Templates can be split into independent features that you can selectively include.
  • Projects created from a template can be updated to include upstream changes.
  • Contributing to a template is as easy as contributing to any other project.

Documentation

Project documentation including installation instructions, usage examples and information about authoring new templates is available at tenpureto.org.

Installation

macOS

You can install tenpureto with Homebrew:

$ brew tap rtimush/tap # you need it only once
$ brew install tenpureto

You can also download a binary from the releases page.

Linux

You can download a statically built binary from the releases page.

If you use Linuxbrew, you can also install tenpureto from the rtimush/tap tap in the same way as described in the macOS section.

Build from sources

You need to get Haskell Stack first. Get tenpureto sources and run

# will install tenpureto binary to ~/.local/bin
$ stack install

or

# will run tenpureto without installing
$ stack run -- <tenpureto options here>

You may need to install libtinfo-dev (DEB) or libtinfo-devel (RPM) package before running stack.

Usage

To create a new project run the following command:

$ tenpureto create --template <repository> <directory>

where

  • <repository> โ€” Git URL of a template repository (for GitHub you can just use organization/repo).
  • <directory> โ€” where to create a project.

If you have a local clone of a Git repository with --mirror, you can pass its absolute path instead of a Git URL as the <repository> argument.

You will be asked to choose a subset of template features you want to include, and to provide some variable values, and then the project will be created.

If you want to incorporate changes that were made in a template into a project that you previously created, run

$ tenpureto update <directory>

tenpureto's People

Contributors

rtimush avatar dependabot-preview[bot] avatar kozross avatar boynux avatar lenguyenthanh avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.