mitchmac / ServerlessWP

Host WordPress sites on Vercel, Netlify, or AWS Lambda
GNU General Public License v3.0
240 stars 85 forks source link

cannot execute the script ./build_bin.sh #9

Closed ghost closed 11 months ago

ghost commented 5 years ago

Every time I execute the script it gives "docker build" requires exactly 1 argument. then I tried to manually enter the docker commands then also it gave an error :

"docker build" requires exactly 1 argument. See 'docker build --help'.

Usage: docker build [OPTIONS] PATH | URL | -

how can i solve this problem any help...

ghost commented 5 years ago

help @mitchmac

mitchmac commented 5 years ago

Hi @Tropyl thanks for the report. Are you able to let me know what version of docker you are using?

I'm hoping to update this repository soon and may include the necessary binaries so the docker step isn't necessary, would that be a good solution?

ghost commented 5 years ago

Hi Your code is perfect but have some bugs that you need to fix I have fixed the bug and have deployed my website at the time of writting the comment my server is in deployment stage once it is deployed I will further investigate the issue. I have some solutions for this issue may I fork it, fix the issue and push it via the tropyl branch of this project the bug causes serious problem specially while executing the ./build_wp.sh there are two approach of it:

1) Modify the read me file and let the user execute the code manually 2) Modify the build_wp.sh file with completely new commands.

Reply soon...

And thanks for making such an awsome project.

ghost commented 5 years ago

And one more thing which themes are currently supported and how theming works on this will Yoast SEO work please reply with full details for this. And when your reply about this topic include @tropyl

ghost commented 5 years ago

And do not update anything Docker just works fine

mitchmac commented 5 years ago

@Tropyl Most themes should work and any plugin that doesn't need server side execution of requests should as well. I have had success using The SEO Framework plugin for SEO.

Any pull requests are welcome! Thanks.

mitchmac commented 11 months ago

The project has been totally refactored so this issue is no longer relevant.