Code Monkey home page Code Monkey logo

unwrap-template's Introduction

unwrap-template

Docker image for unwrapping template repositories using EJS

Usage

Creating a template repository

  1. Create a repository and run:

    docker run -v $PWD:/data -e DIR=$PWD -e INIT=true extenda/unwrap-template

    This will create the following structrure:

    • .template/
      • files/
      • options.json
      • README.md
      • init.sh
    • README.md (link to .template/README.md)
  2. Place all the template files in .template/files folder.

  3. Update .template/options.json with the default variables that are used to unwrap the template.

Unwrapping a template

  1. Update .template/options.json file with your specific variables.

  2. Run:

    bash .template/init.sh

    or directly:

    docker run -v $PWD:/data extenda/unwrap-template

    Files from the files folder will be copied to the current working directory and transformed with EJS using .template/options.json as the input.

    For more info on transformation see EJS docs.

unwrap-template's People

Contributors

glebbash avatar

Watchers

Thomas Hedemann Hansen avatar Michael Wittig avatar Roman Tibin avatar Shayne Clausson avatar Alex Dobretov avatar Reza Khamooshi avatar Eslam Ali avatar Volodymyr avatar Mihail Racu avatar Tommy Stjerndal avatar Micael Jansson avatar omar basyouni avatar Maksym Cheban avatar Constantin Popa avatar Vladyslav Kalko avatar  avatar Natalia Rubanovici avatar Mona Farasati avatar Alexander Lindelöf avatar Olga Climova avatar Andre Angle Meidell avatar Constantin Adrian Enache avatar Cristian Popescu avatar Ankur Bhalodia 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.