• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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, 12:44 PM)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.
Do you want to write tests for your apps? Our book, CodeIgniter Testing Guide would help you.
Reply

#34
(06-17-2017, 07:01 PM)kenjis Wrote:
(06-17-2017, 12:44 PM)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
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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
2 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2018 MyBB Group.