This is a test application that includes the registration and reception of all users.
- clone the repository
git clone git@github.com:k0ket/register-test.git
- switch to the project folder
cd register-test
- setup development domain
echo "127.0.0.1 register-test.local.com" | sudo tee -a /etc/hosts
- apache virtualhost config
sudo cp .config/apache2/register-test.local.com.conf /etc/apache2/sites-available/register-test.local.com.conf
sudo a2ensite register-test.local.com.conf
sudo service apache2 reload
- install dependencies
composer install
- setup environment configuration
cp .env.example .env
- run this code for create the symbolic link
php artisan storage:link
- setup database
php artisan migrate
- configure permissions
chmod 777 -R storage bootstrap/cache
- run tests
./vendor/bin/phpunit