CodeIgniter Forums
CodeIgniter Composer Installer - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: CodeIgniter Composer Installer (/showthread.php?tid=61540)

Pages: 1 2 3 4


RE: CodeIgniter Composer Installer - markusnippet - 06-13-2017

Great thread, you have my gratitude for sharing this.


RE: CodeIgniter Composer Installer - fangstar - 06-17-2017

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?


RE: CodeIgniter Composer Installer - kenjis - 06-17-2017

(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.


RE: CodeIgniter Composer Installer - fangstar - 06-17-2017

(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.


RE: CodeIgniter Composer Installer - fangstar - 01-12-2018

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


RE: CodeIgniter Composer Installer - dave friend - 01-12-2018

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