Git Product home page Git Product logo

steffbeckers / code-generator Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 5.57 MB

.NET based code generator. Configure projects and generate boilerplate code with T4 templates, based on a simple JSON representation of domain models.

Home Page: https://steffbeckers.eu/projects/code-generator

C# 96.64% Dockerfile 0.19% JavaScript 0.44% TypeScript 2.31% HTML 0.17% SCSS 0.25% CSS 0.01%
code-generator dotnet t4 templates angular json-representation boilerplate

code-generator's Introduction

Hello ๐Ÿ‘‹

code-generator's People

Contributors

steffbeckers avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

juicebyjustin

code-generator's Issues

What license is this project using?

This is a very interesting project. I'm interesting in learning more about it.

  1. What license is this project using?
  2. What exactly does it do?

From what I can tell this generated a web API and an Angular frontend application using the ABP.io standard practices. I see there are models defined in code-gen-config.json.

Error While Running a Fresh Clone

I am trying to run this project from a fresh clone, and I get an error message running dotnet watch run or docker-compose -up. There are no log messages after the message below.

How to replicate:

  1. Clone repo.
  2. Open root directory in terminal.
  3. Run dotnet build
  4. CD to CodeGen
  5. Run dotnet watch run

Complete Log Output: https://gist.github.com/juicebyjustin/d5d61c7b50550d19ab65ffd06cb12875

Error Message:

fail: CodeGen.Worker[0]
      No such file or directory
      System.ComponentModel.Win32Exception (2): No such file or directory
         at System.Diagnostics.Process.ForkAndExecProcess(String filename, String[] argv, String[] envp, String cwd, Boolean redirectStdin, Boolean redirectStdout, Boolean redirectStderr, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
         at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
         at System.Diagnostics.Process.Start()
         at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
         at CodeGen.Runners.DotNETProjectRunner.Run() in /Users/justin/Documents/GitHub/code-generator/CodeGen/Runners/DotNETProjectRunner.cs:line 50
         at CodeGen.Worker.ExecuteAsync(CancellationToken cancellationToken) in /Users/justin/Documents/GitHub/code-generator/CodeGen/Worker.cs:line 47

CodeGen/Runners/DotNETProjectRunner.cs:line 50:

await Process.Start(openSwagger).WaitForExitAsync();

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.