CodeIgniter Forums
cloud9 ide & codeigniter - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forum-9.html)
+--- Thread: cloud9 ide & codeigniter (/thread-63596.html)



cloud9 ide & codeigniter - bvcxtds - 11-17-2015

hey guys. Im using cloud 9 IDE for my environment and I wanna use CI for my framework (im a beginner btw) but im having issue configuring it to CI. Has anyone used cloud 9 IDE and CI and if so any tips? My main issue is file paths, im trying to work thru the tutorial but im having issues with the first tutorial.


RE: cloud9 ide & codeigniter - juggernaught - 11-18-2015

not sure what you mean by file paths because they are very straight forward if you uploaded the codeigniter folder to c9 then in the terminal type:

Code:
rm README.md php.ini hello-world.php
shopt -s dotglob
mv CodeIgniter-3.0.3/* ./
rm -rf CodeIgniter-3.0.3


you can copy paste that entire section.

Alternately you could just clone from git:
On your C9 dashboard click the "create a new workspace" and then when setting it up under "Clone from Git or Mercurial URL" type:


Code:
[email protected]:bcit-ci/CodeIgniter.git
 
and then continue with the rest of the codeigniter setup.

C9 also has a database you could use: https://docs.c9.io/docs/setup-a-database


RE: cloud9 ide & codeigniter - sv3tli0 - 11-19-2015

(11-18-2015, 05:00 PM)juggernaught Wrote: not sure what you mean by file paths because they are very straight forward if you uploaded the codeigniter folder to c9 then in the terminal type:

Code:
rm README.md php.ini hello-world.php
shopt -s dotglob
mv CodeIgniter-3.0.3/* ./
rm -rf CodeIgniter-3.0.3


you can copy paste that entire section.

Alternately you could just clone from git:
On your C9 dashboard click the "create a new workspace" and then when setting it up under "Clone from Git or Mercurial URL" type:


Code:
[email protected]:bcit-ci/CodeIgniter.git
 
and then continue with the rest of the codeigniter setup.

C9 also has a database you could use: https://docs.c9.io/docs/setup-a-database


I have to add that after you clone CI git you should checkout to latest tag:
Code:
git checkout tags/{tag}

Where latest tag is currently 3.0.3. 

This will clean the directory from all dev stuffs and it will leave only App, Sys and Guide folders (+few important files) - ready to be used..