Downloads > bash
< Back to DownloadsBelow you can find some sample bash shell script to get ICEcoder, great if you want to automate download and setup.
Setup:
Below is sample shell script to download and unzip from the last stable zip:
cd /var/www/html wget https://downloads.icecoder.net/ICEcoder-8.1.zip -O ICEcoder.zip unzip ICEcoder.zip rm ICEcoder.zip mv ICEcoder* ICEcoder
You'll need to ensure both the ICEcoder dir and the wwwroot dir have permissions to read, write and execute. This can be done by changing permissions (using chmod), but it it safer and so better, to use chown:
chown -R www-data.www-data /var/www/html
This will recursively set the www-data user as both the owner and group users for files on the /var/www/html dir (which ICEcoder dir is of course inside of, at say /var/www/html/ICEcoder).
Now you can visit yoursite.com/ICEcoder to view ICEcoder, sign in and start coding!
Tip: If using ICEcoder locally, you can use:
php -S localhost:8080
...to get PHP to start a simple web server. You can then visit localhost:8080/ICEcoder