CodeIgniter Composer Installer |
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? (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. (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? 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.
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
Those assets are best at the "red" location. They will be loaded by the browser using http[s] and so need to be "public".
|
Welcome Guest, Not a member yet? Register Sign In |