Web app built using Symfony3.
-
Install git
sudo yum install -y git -
Retrieve source code
git clone https://github.com/jmgtan/fileshare.git -
Install PHP runtime (this will also install Apache HTTPD):
sudo yum install -y php71 php71-cli php71-intl php71-mbstring php71-mcrypt php71-mysqlnd -
Install composer
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"php composer-setup.phpphp -r "unlink('composer-setup.php');"sudo mv composer.phar /usr/bin/composer -
Install application dependencies (in the fileshare folder)
composer install -
When prompted, enter the database connection details. You can leave mailer and secret token values to its default value.
-
Initialized the database:
bin/console doctrine:schema:update --force -
Complete Apache virtual host setup and point it to the fileshare/web folder. Make sure that Override is allowed for the url rewrite.