Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


How to Install Polr on Ubuntu 16.04 filter_list
Author
Message
How to Install Polr on Ubuntu 16.04 #1
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
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.5 LTS
Release:        16.04
Codename:       xenial

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/

[Image: nxDKFsj.png]

Reply







Users browsing this thread: 1 Guest(s)