GithubHelp home page GithubHelp logo

mfilippov / peachpie-templates Goto Github PK

View Code? Open in Web Editor NEW

This project forked from peachpiecompiler/peachpie-templates

0.0 2.0 0.0 1.42 MB

Peachpie project templates.

PowerShell 46.12% PHP 11.56% C# 42.33%

peachpie-templates's Introduction

PeachPie Templates

This repository contains various dotnet project templates to be used for creating PeachPie compiled applications.

Using templates

  1. Install peachpie templates via: dotnet new -i "Peachpie.Templates::*"
  2. Create a project based on chosen template e.g.: dotnet new console -lang PHP
  3. Restore packages for the newly created project: dotnet restore
  4. Run the project: dotnet run

You need to install PeachPie templates only once. They get stored in ~HOME/.templateengine cache.

Prerequisites

  • .NET Core SDK 2.1
  • PowerShell (only for building)

Contributing templates & building

Adding a new template:

Building & testing

  • Invoke .\build.ps1 which calls a build (1) and a test (2) script
    • 1: Packages all templates into a nuget package (see /out/Peachpie.Templates.x.y.z.nupkg)
    • 2: Installs the the templates package to current .templateengine cache
    • 2: Tries to create a project from each one, restore it, and build it
  • After invoking the build script your template should be listed among dotnet new -all

peachpie-templates's People

Contributors

jakubmisek avatar petrroll avatar

Watchers

 avatar  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.