SomaTech is a learning management system that helps people learn various technologies. You can upload YouTube videos by category, edit and delete them. You have to log in first before uploading or changing a video from your dashboard. To view the project and play with it, visit this page.
##Installation instructions
- Clone the repository
git clone <repository>
- Run
composer install
- Rename
.env.example
to.env
- Run
php artisan key:generate
to generate the application key.
NOTE: It is highly recommended that you use Homestead virtual machine.
##Defining the site in Homestead Laravel Documentation explains how to configure Homestead.
In summary:
- Identify which directory(s) you want to share with Homestead as explained in Configuring Shared Folders section.
- Map a domain to a directory on your Homestead environment as explained in Configuring Nginx Sites section.
- Then add the domain to your Nginx site to the
hosts
file on your machine, as explained in the Hosts File section. - Run the
vagrant up
command from your Homestead directory.
NOTE: When your Homestead environment is provisioned and running, to add an additional Nginx site ; add it on Homestead.yaml
file and then run vagrant provision
.
- Create a database called
testing
. - If you are not using
mysql
, then change theDB_CONNECTION
value inphpunit.xml
accordingly. - Run
phpunit
in vagrant.