Coder Social home page Coder Social logo

Comments (3)

ocdtrekkie avatar ocdtrekkie commented on June 5, 2024 1

That would probably be a workable solution, but I also can't symlink from /opt/app in my preferred dev environment, so if I get stuck on "must do that", it'll be a while until I make it to my other machine for this. The alternative I could consider for this actually, would be to not store the application in /opt/app at all, so it doesn't touch my local system, have the packaging script git clone the original repo to another directory, etc.

So I wouldn't say I'm actually "stuck" at this point, but I haven't sat down again to move past this particular roadblock.

from community-project.

ocdtrekkie avatar ocdtrekkie commented on June 5, 2024

So what has held me up here is that Laravel really likes to use a subdirectory of the application for storage, and all of the suggestions on how to change it are annoying, involving writing basically a plugin to overwrite a function that defines the storage path.

Then there are some setup steps which seem like they will be particularly annoying to do with Sandstorm, as they both touch the storage (currently in the app directory) and the database (which is of course in /var). Ideally I'd love to not run them on grain start, because they're slow and likely irrelevant to Sandstorm's model, but obviously if they've got to touch the database, then we'd have to pre-generate the database to avoid running them on grain start.

I'm wondering if we have any present apps that use some flavor of Laravel I can look at as an example, but I can't think of any off hand.

from community-project.

zenhack avatar zenhack commented on June 5, 2024

Have you tried symlinking that directory to somewhere under /var?

from community-project.

Related Issues (18)

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.