Giter Site home page Giter Site logo

Comments (8)

alrra avatar alrra commented on June 14, 2024

Cc: @ngryman, @niftylettuce

from generator-server-configs.

ngryman avatar ngryman commented on June 14, 2024

I guess the generator should run a npm install after downloading the tarball in order to install all dependencies.

Unlike other server configs, node's servers are more like applications. I agree that the scaffolder should at least generate an index.js containing a basic static server that the user can then customize.
I can provide this in a PR if you like.

from generator-server-configs.

alrra avatar alrra commented on June 14, 2024

I can provide this in a PR if you like.

@ngryman 👍

from generator-server-configs.

sindresorhus avatar sindresorhus commented on June 14, 2024

ping :)

from generator-server-configs.

ngryman avatar ngryman commented on June 14, 2024

Hey, sorry for the late.
I'm working on it :)

from generator-server-configs.

ngryman avatar ngryman commented on June 14, 2024

The PR is sitting here: #5.

Two notes:

  • Apache test is failing. I think it searches for .htaccess instead of src/.htaccess.
  • For my test, node_modules is never created in the temp test directory. I think this may be related to a current path thing.

Have a nice Sunday :)

from generator-server-configs.

alrra avatar alrra commented on June 14, 2024

Apache test is failing. I think it searches for .htaccess instead of src/.htaccess.

@ngryman sorry, I didn't have an Internet connection when I fixed that, and then I forgot to push the change to GitHub.

from generator-server-configs.

alrra avatar alrra commented on June 14, 2024

Closing this in favor of #5.

from generator-server-configs.

Related Issues (6)

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.