Giter Site home page Giter Site logo

copier-templates's Introduction

copier-templates

This project is leveraging the project Copier to allow us to not repeat ourselves and save time.

How to use it

First you need to have copier installed, to do that simply run:

pip install copier

You should now have the command copier available in your terminal.

Example of semantic release setup

In this project we have a template to enable the semantic-release on a Github project.

Imagine you have the following folder structure:

.
└── my-awesome-project
    └── README.md

my-awesome-project is your github repository. Now you need to git clone copier-templates next to my-awesome-project to have the following structure:

.
├── copier-templates
└── my-awesome-project
    └── README.md

Good, now you can setup semantic-release, let's do it.

Make sure you are in the your my-awesome-project and run:

copier ../copier-templates/github/semantic-release .
🎤 What is your project name?
   my-awesome-project
🎤 What version should we start from?
   0.0.1

Copying from template version None
 identical  .
    create  .github
    create  .github/package-lock.json
    create  .github/workflows
    create  .github/workflows/release.yml
    create  .github/package.json
    create  .github/.releaserc

Now your folder structure should look like this:

.
├── .github
│   ├── .releaserc
│   ├── package-lock.json
│   ├── package.json
│   └── workflows
│       └── release.yml
└── README.md

You should now be able to git add ..., git commit ..., git push and see the action running in Github.

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.