Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter Composer Installer
#31

Great thread, you have my gratitude for sharing this.
Reply
#32

Hi, this project seems pretty great. I get in theory about the new 'document root'. Yet I still don't get how to have it show a page from basic install.

After I do this bin/server.sh and the server runs, what do I have to edit to have it show the CI default 'welcome' page?
Reply
#33

(06-17-2017, 11:44 AM)fangstar Wrote: After I do this bin/server.sh and the server runs, what do I have to edit to have it show the  CI default 'welcome' page?

You have to edit nothing.
Just access http://127.0.0.1:8000 via your browser.
Reply
#34

(06-17-2017, 06:01 PM)kenjis Wrote:
(06-17-2017, 11:44 AM)fangstar Wrote: After I do this bin/server.sh and the server runs, what do I have to edit to have it show the  CI default 'welcome' page?

You have to edit nothing.
Just access http://127.0.0.1:8000 via your browser.

My bad. Used your project without any additions and I saw the welcome page. I added something in the composer file wrong that messed everything up beforehand.  Thanks for the good work on the project.
Reply
#35

Would like some confirmation as to where I should be placing the JS, CSS, IMG files?


Should I do an assets folder at the same level of application (blue font)?  or is it under the public folder (red font)?


codeigniter/
├── application/
├── assets/
   └── img/
   └── css/
├── bin
├── composer.json
├── composer.lock
├── public/
│   ├── .htaccess
│   └── index.php
     ├── assets/

            └── img/
            └── css/
└── vendor/
   └── codeigniter/
       └── framework/
           └── system/
           └── application/

thanks
Reply
#36

(This post was last modified: 01-12-2018, 10:14 AM by dave friend.)

Those assets are best at the "red" location. They will be loaded by the browser using http[s] and so need to be "public".
Reply




Theme © iAndrew 2016 - Forum software by © MyBB