GithubHelp home page GithubHelp logo

Installation support for Pagodabox about frontend HOT 5 OPEN

photo avatar photo commented on August 28, 2024
Installation support for Pagodabox

from frontend.

Comments (5)

garethgreenaway avatar garethgreenaway commented on August 28, 2024

If anyone has invites for this, I can start taking a look and documenting it.

from frontend.

lyondhill avatar lyondhill commented on August 28, 2024

2 steps:

add a file named "Boxfile" to your home directory that looks something like this:

web1:
  shared_writable_dirs:
    - /src/configs
    - /src/configs/generated
    - /src/configs/test
  document_root: /src/html
  php_extensions:
    - imagick
    - gmagick
    - gd
    - mcrypt
    - curl
    - mysql
    - pdo_mysql

then added a .htaccess file in src/http that looks something like this:

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.)?$ index.php?route=/$1 [L,QSA]

works as far as I can tell.

If your interested in giving it a try go to http://openphoto.newpagodabox.com/

from frontend.

jmathai avatar jmathai commented on August 28, 2024

@lyondhill, awesome!

The only directory which needs to be writable should be /src/configs/generated. If that's not the case it's something we should have a look at on our side.

Under php_extensions is there an option for oauth (via pecl)?

from frontend.

lyondhill avatar lyondhill commented on August 28, 2024

you can include the oauth php extension. Pagodabox put up a gist of the extensions that are installed on there system
https://gist.github.com/916666

from frontend.

jmathai avatar jmathai commented on August 28, 2024

Here's what I have so far. It works but you are not able to upload since the source looks to write into the system's temp directory.

This is a populated instance of openphoto.
http://jmathai-openphoto.newpagodabox.com/photos/list

web1:
    name: frontend
    shared_writable_dirs:
        - /src/configs/generated
    document_root: /src/html
    php_extensions: 
        - imagick
        - gmagick
        - gd
        - mcrypt
        - curl
        - mysql
        - pdo_mysql
        - exif
        - oauth
    php_upload_max_filesize: 16M

from frontend.

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.