Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 737 Bytes

INSTALLATION.md

File metadata and controls

45 lines (36 loc) · 737 Bytes

Installation on localhost

  • setup development domains
echo "127.0.0.1    casr.local.com" | sudo tee -a /etc/hosts
echo "127.0.0.1    api.casr.local.com" | sudo tee -a /etc/hosts
  • apache virtualhost config
sudo cp config/localhost/apache2/casr.local.com.conf /etc/apache2/sites-available/casr.local.com.conf
sudo a2ensite casr.local.com.conf
sudo service apache2 reload
  • switch to sources folder
cd src
  • install dependencies
composer install
  • setup environment configuration
cp .env.example .env
  • setup database
php artisan migrate
  • configure permissions
chmod 777 -R storage bootstrap/cache
  • run tests
php artisan test