Giter VIP home page Giter VIP logo

Comments (8)

f3l1x avatar f3l1x commented on August 19, 2024 1

Hi @Jamesking56, I hope you're still in this issue and want this feature, because I have a good news. 👁️

from php.

f3l1x avatar f3l1x commented on August 19, 2024 1

Implemented. See FAQ (https://github.com/juicyfx/vercel-php#%EF%B8%8F-faq)

from php.

f3l1x avatar f3l1x commented on August 19, 2024

Hey @Jamesking56. Good idea I was thinking about the same.

Could you please describe me little bit closer what steps do you need to start your own static satis? I am sure we will figure out something.

from php.

Jamesking56 avatar Jamesking56 commented on August 19, 2024

Currently I run:

composer install --no-interaction --no-progress --prefer-dist --no-suggest
vendor/bin/satis build satis.json public

Then upload the public directory (which of course Now should just use)

from php.

f3l1x avatar f3l1x commented on August 19, 2024

And you would like to execute these commands on ZEIT Now, right?

from php.

Jamesking56 avatar Jamesking56 commented on August 19, 2024

Yeah

from php.

f3l1x avatar f3l1x commented on August 19, 2024
project
├── composer.json
├── composer.lock
├── index.php
├── now.json
└── satis.json

In satis.json type your deps, you know. Composer file contains satis library to execute build command. Composer file also contains scripts, our script MUST be named vercel and builds the satis index.

Unfortunately lambda output cannot be static, but no stress! I bring a little trick in index.php to include these static files.

It's based on dev version of vercel-php, be careful! I will release stable version after some tests and etc.

Screenshot 2020-06-27 at 17 35 41

Please test it and give me feedback. I'd suggest you to try it broke 😎.
Be aware Vercel's total file size limit (50mb).

Have fun.

from php.

f3l1x avatar f3l1x commented on August 19, 2024

This feature will be included in v0.3.0 (#81)

from php.

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.