Comments (6)
This has been fixed in v0.0.5
from porter.
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.
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.
@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.
@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.
@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)
- `porter add` fails if `porter start` hasn't been run. HOT 2
- Tail command adds extra blank lines
- porter can not stop or start! HOT 3
- Fresh Install error syntax error, unexpected token ")" in builds/porter/vendor/symfony/finder/Finder.php on line 636 HOT 4
- Run `porter remove` but restarting the service instead of removing
- WSL does not has supervisor
- Status indicator HOT 2
- I can't start services HOT 4
- Supervisord config not found HOT 4
- Porter watch won't work HOT 7
- Porter watch uses 100% CPU HOT 2
- Environment variables? HOT 6
- Porter cannot start services, thinks they are already running HOT 8
- Rename `porter add` to `porter init` HOT 1
- Stop individual services
- PHP Parse error: syntax error, unexpected token ")"
- Worked for 1 day... Can't start porter anymore HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from porter.