php-router icon indicating copy to clipboard operation
php-router copied to clipboard

Missed Deployment tutorial

Open peter279k opened this issue 6 years ago • 4 comments

According to issue #10, we can find that this issue is about the deployment issue.

We missed that part/section on this repo.

I think it should be added and I find the two ways to solve this:

  • Using the GitHub Wiki to tell us how to deploy router to the Apache/Nginx HTTP server.
  • We can also Add Dockerfile to define the Docker container for this repo.

peter279k avatar Jan 09 '19 20:01 peter279k

Actually, there is a wiki that about htaccess file for Apache Web Server. https://github.com/izniburak/php-router/wiki/2.-Getting-Started#quick-usage

I will also add a new wiki for Nginx soon. For this, htaccess to nginx converters may use. (https://www.google.com/search?q=htaccess+to+nginx)

And about Dockerfile, I am not sure how much this is necessary. You think why should it be? I think Apache and Nginx configurations will be enough.

izniburak avatar Jan 09 '19 21:01 izniburak

@izniburak, thank you for your reply.

I also have known about these deployments with some kinds of HTTP servers.

If possible, I can help you to enhance the starter tutiorial guide on this GitHub wiki.

Thanks.

peter279k avatar Jan 10 '19 02:01 peter279k

About the Dockerfile, I think it's the optional work to do.

If we have the Dockefille, it can let developers build this project or development environment esaily via the related docker build command.

peter279k avatar Jan 10 '19 04:01 peter279k

@peter279k Okay, We can discuss on this idea. Thank you so much.

izniburak avatar Jan 10 '19 16:01 izniburak