Simple wrapper to Symfony Go Binary for multi-app.
You can install this binary through Homebrew:
brew tap jolicode/pomdok firstname.lastname@example.org:jolicode/pomdok.git brew install pomdok
Or you can follow linux way below
Download last release, extract it and you'll have the binary. I suggest you to put it in
/usr/local/bin/ to be easier to use but you can do whatever you want 🤷
First you need a configuration file in your project root as following:
pomdok: tld: 'test' projects: - domain: 'api.project' path: '/apps/api' - domain: 'www.project' path: '/apps/front' - domain: 'admin.project' path: '/apps/back-office'
You'll need atleast
tld field and one project to have a valid configuration.
pomdok for your project run:
You can add
--config=configuration.yaml option if your configuration file is not in current folder with default name
Then to start your applications
And to stop them:
Open Source time sponsored by JoliCode
Everything working but I have untrusted https
This tool does not run
symfony ca:install command since it needs sudo. This install local certificate authority. Just run it and you'll have trusted https for you apps
Will sync your project with Symfony binary configuration. This command can run anywhere inside your project tree, it will search in current directory and will goes into parent one if nothing and again and again until finding your project configuration.
Will start symfony proxy if needed and all your apps
Will stop all your apps
Will check your OS and needed binaries:
- OS: should be Linux or Darwin (MacOS)
- PHP: you need local php installation
- Symfony: and the symfony binary
sudo pomdok install
Will install all needed binaries :
- PHP: from
brewdepending on OS
- Symfony: with
wgetcommand ⚠ This command obviously needs
sudoor being logged as root.