Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

ahk-ch/chamb.net

Repository files navigation

Chamb Logo
Build Status Coverage Status SensioLabsInsight StyleCI Code Climate

Development

Whether you are a front-end or backend developer the below steps are required.

Software required on Web Server

  • Bower | Dependency manager for front-end libraries.
  • Composer | Dependency Manager for PHP
  • Git | Git is a widely used version control system for software development.

Testing

  • Input testing credentials as found on .env.example
  • Run test based on Laravel framework: php artisan migrate:refresh --database mysql_testing

Codeception

Laravel framework does not support async testing. Thus we need to use codeception.

Set Up

  1. Download headless browser server PhantomJS
  2. Run this server: phantomjs --webdriver=4444

Add credentials

  • Create environment variables using the .env.example.
    • Use the php artisan key:generate command for the 'APP_KEY' variable.

Set Up Database

  • php artisan migrate:refresh --database=mysql_testing Drops and creates tables
  • php artisan db:seed --class=RequiredTableSeeder --database=mysql_testing Seed testing database with required initial data.

CSS/SCSS

  • SASS Guide & Laravel elixir
    • Use gulp watch --production. Generates & minifies css files from resources/assets/sass/ directory amongst other things.

Tests

  • phpunit Runs all tests.
    • Use gulp watch --production. Runs tests each time you save the source code amongst other things.

Credits

Releases

No releases published

Packages

No packages published

Languages