Giter Site home page Giter Site logo

Staticfile/HTML provider about nixpacks HOT 12 CLOSED

railwayapp avatar railwayapp commented on August 28, 2024
Staticfile/HTML provider

from nixpacks.

Comments (12)

Milo123459 avatar Milo123459 commented on August 28, 2024

How would this work?

from nixpacks.

 avatar commented on August 28, 2024

Can detect using a specific variable/file (that provides more config options) or maybe if everything fails and it has index.html in root

from nixpacks.

Milo123459 avatar Milo123459 commented on August 28, 2024

I don't think this is a good idea. Setting up a web server isn't hard.

from nixpacks.

 avatar commented on August 28, 2024

Some people find setting up a production ready server difficult. Adding a variable is much more easier than setting up a web server. Would save a lot of time in the long run.

from nixpacks.

Milo123459 avatar Milo123459 commented on August 28, 2024

If this is done, I don't think a variable is the right way to go about doing this. We should implement some sort of hierarchy for providers and this should have the lowest because it is way too generic.

from nixpacks.

Milo123459 avatar Milo123459 commented on August 28, 2024

What webserver would we use anyway?

from nixpacks.

 avatar commented on August 28, 2024

If this is done, I don't think a variable is the right way to go about doing this. We should implement some sort of hierarchy for providers and this should have the lowest because it is way too generic.

Variable because it's much easier. Hierarchy won't be the perfect solution in this case. Imagine a situation where someone deploys code written in a language which isn't supported by nixpacks, yet. That way one can get their source code leaked.

from nixpacks.

 avatar commented on August 28, 2024

What webserver would we use anyway?

I'd prefer Caddy/Nginx. If someone has a better suggestion. We can go ahead with that.

from nixpacks.

JakeCooper avatar JakeCooper commented on August 28, 2024

Adding a $100 bounty for this provider (nginx serving, similar to the static buildpacks). Payable in crypto or USD.

from nixpacks.

 avatar commented on August 28, 2024

I am up for this.

from nixpacks.

Milo123459 avatar Milo123459 commented on August 28, 2024

If we have settled on the idea of it being an environment variable, which upon second thought is a better idea, maybe we should have an option in the railway dashboard for deploying a static HTML application like this. Just a checkmark that would automatically set this variable.

from nixpacks.

 avatar commented on August 28, 2024

Haven't settled on the idea of it being an environment variable. Will be rewriting Cloudfoundry's Staticfile buildpack as a provider.

from nixpacks.

Related Issues (20)

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.