Welcome Guest, Not a member yet? Register   Sign In


I am using and develpping with CI4 and now I really start to like it.  I am still not an expert and have many questions but I am learning step by step.

Now My question here is about deployment.

How to deploy ? What is the good practice.?

I describe how I do for deployment
- copy all source to the production server
- Modifiy .env to adjust db infos
- Run script to create or update the database
- I still need to adjust permission in few directories

I noticed that I have too many files : readme.md with the codeiginiter text and few others. I think I don't need such file. licence etc...
What files or directories are useless for deployment ?

I have 2 kinds of deployment .
- Deployment I am doing myself : I need to write a procedure. It is ok because I am supposed to be sys admin and master of my server
- Deployment that the user could do. : Here is my problem. I want the deployment the most easy as possible. Imagine wordpress you download source and go to a page and type few information. Do you have ideas in this direction?  How to write installation tool ? Do you have an example.

An other problem I am facing is Installation on mutual host. then your web will be https://site.com/pub/  Then it is impossible to install something on the domaine root.

thank you for your advices and helps

Messages In This Thread
deployment - by cb21 - 06-12-2020, 02:39 AM
RE: deployment - by InsiteFX - 06-12-2020, 02:47 AM
RE: deployment - by cb21 - 06-12-2020, 02:49 AM
RE: deployment - by includebeer - 06-14-2020, 03:41 PM

Theme © iAndrew 2016 - Forum software by © MyBB