Git Product home page Git Product logo

lavawhale's People

Contributors

linc70j avatar marsnow avatar zx1986 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

marsnow larvatatw

lavawhale's Issues

Node.js vs V8Js

spatie/laravel-server-side-rendering
可以用以上兩種方式產生 ssr 的檔案

如果使用 Node.js 目前的設定只有再 circleci build 的時候短暫的加進來而已
web 這個 image 本身沒有安裝 Node.js
所以 laravel 會說

Error Output:
================
sh: 1: /usr/bin/node: not found

然而使用 V8Js,今日測試的結果似乎是因為 docker 裡的 os 是 Debian 怎麼測試都無法完成安裝
以下是測試的主要設定 其他設定 forked from Linc70J/lavawhale
Dockerfile

###########################################################################
# V8Js:
###########################################################################

ARG INSTALL_V8Js=false

RUN if [ ${INSTALL_V8Js} = true ]; then \
  apt-get install -y software-properties-common && \
  add-apt-repository -y ppa:ondrej/php && \
  add-apt-repository -y ppa:pinepain/libv8 \
;fi

RUN if [ ${INSTALL_V8Js} = true ]; then \
  apt-get -y install libv8-dev \
;fi

RUN if [ ${INSTALL_V8Js} = true ]; then \
  pecl install v8js && \
  docker-php-ext-enable v8js \
;fi

以及參考官方的做法都無法安裝
v8js/README.Linux.md

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.