k0ket / register-test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Api Register

This is a test application that includes the registration and reception of all users.

Installation

  • 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

About


Languages

Language:PHP 86.7%Language:Blade 12.7%Language:Shell 0.6%