Skip to content

sachungo/soma-tech

Repository files navigation

soma-tech

CircleCI Badge Coverage Status StyleCI Badge

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:

  1. Identify which directory(s) you want to share with Homestead as explained in Configuring Shared Folders section.
  2. Map a domain to a directory on your Homestead environment as explained in Configuring Nginx Sites section.
  3. Then add the domain to your Nginx site to the hosts file on your machine, as explained in the Hosts File section.
  4. 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.

Testing

  • Create a database called testing.
  • If you are not using mysql, then change the DB_CONNECTION value in phpunit.xml accordingly.
  • Run phpunit in vagrant.

About

PHP checkpoint 4 repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages