Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerless installation hints #5

Closed
Sjors opened this issue May 27, 2022 · 2 comments
Closed

Dockerless installation hints #5

Sjors opened this issue May 27, 2022 · 2 comments

Comments

@Sjors
Copy link

Sjors commented May 27, 2022

I couldn't figure out how to build the plugin on my server (Ubuntu 22.04).

I can install it via the Wordpress directory and then edit the files (e.g. for #4), but that's not ideal.

Since I don't run Docker on my server, any hints would be useful. I assume there's some incantation to pull in the dependencies, but npm install and grunt didn't do the trick.

@ndeet
Copy link
Collaborator

ndeet commented Jul 5, 2022

Hey @Sjors sorry for the late reply, for some reason I did not see the notifications about the issues on that day 😅 (and I never scanned the issues since then it seems)

In PHP land the equivalent package manager npm is composer. So instead of npm install you do composer install (in the plugin directory) to fetch the dependencies. On the build that gets uploaded to WP directory we solve that with this GH action which does exactly that before making the .zip archive.

@Sjors
Copy link
Author

Sjors commented Jul 7, 2022

Thanks

@ndeet ndeet closed this as completed Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants