![]() |
How to Install Polr on Ubuntu 16.04 - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Coding (https://sinister.ly/Forum-Coding) +--- Forum: PHP (https://sinister.ly/Forum-PHP) +--- Thread: How to Install Polr on Ubuntu 16.04 (/Thread-How-to-Install-Polr-on-Ubuntu-16-04) |
How to Install Polr on Ubuntu 16.04 - sunjester - 01-14-2019 The installation is quite confusing since you have to install it via Github AND composer. I have never used this before and after installing it, I would recommend using something else. Creating a URL shortening service/website is SUPER EASY. I will write a tutorial on it soon after this, maybe today. This website is also built using Laravel (you can tell by the directory structure and artisan). Installation via UNIX (Ubuntu xenial) Code: (xenial)sunjester@localhost:~$ lsb_release -a 1. Move into the web root directory Code: (xenial)sunjester@localhost:~$ cd /var/www/html/ 2. Download via Github Code: (xenial)root@localhost:/var/www/html/polr# git clone https://github.com/cydrobolt/polr.git --depth=1 3. Move into directory Code: (xenial)root@localhost:/var/www/html# cd polr/ 4. Install composer deps Code: curl -sS https://getcomposer.org/installer | php 5. Use the composer file Code: php composer.phar install --no-dev -o 6. Rename the .env.setup file Code: (xenial)root@localhost:/var/www/html/polr# mv .env.setup .env 7. Serve via artisan Code: (xenial)root@localhost:/var/www/html/polr# php artisan serve 8. Visit, http://localhost:8000/ ![]() |