Coder Social home page Coder Social logo

Can't get it to work about porter HOT 6 CLOSED

anystack-sh avatar anystack-sh commented on May 28, 2024
Can't get it to work

from porter.

Comments (6)

BenQoder avatar BenQoder commented on May 28, 2024 1

This has been fixed in v0.0.5

from porter.

PhiloNL avatar PhiloNL commented on May 28, 2024

Hi @BenQoder,
Please check cat ~/.porter/supervisord.log for more information.
You can also see individual logs cat ~/.porter/logs/haayaa-app.log.

from porter.

BenQoder avatar BenQoder commented on May 28, 2024

I figured the reason why this is happening is because my command is something like

cd path/to/projects/haayaa & php artisan serve

The path my porter.yml file is is different from where my project is

Thus the reason why I created this pr to handle situations where we need to set custom directory.
#11

from porter.

dragonfire1119 avatar dragonfire1119 commented on May 28, 2024

@BenQoder I had the same issue, but I ran "porter init" in each directory, then added my services and "porter add". By "porter status," you can easily examine all the services in each app.

@PhiloNL Nice work on this. I'm using it for my next.js project as well.

from porter.

BenQoder avatar BenQoder commented on May 28, 2024

@dragonfire1119 your suggestion works and that's how I currently use this package.

But for situations where you need all your services for one workspace in a single porter.yml file we need an alternative.

It will be really uneasy for projects with up to 4 or 5 services to have multiple porter.yml files.

I hope you understand me.

from porter.

dragonfire1119 avatar dragonfire1119 commented on May 28, 2024

@BenQoder I looked at how porter was constructed, and it writes to a "supervisord.conf," which sets a "directory=" and then calls the command. As a result, @PhiloNL would have to change the directory parameter to custom.

UPDATE:
Just saw you PR.

from porter.

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.