Skip to content
japankitty backend software
PHP Other
  1. PHP 98.7%
  2. Other 1.3%
Branch: dev
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
app
bootstrap
config
database
frontend @ ba876fd
homestead @ 4ee5e98
public
resources
routes
storage
tests
.codacy.yml
.env.example
.env.testing
.gitattributes
.gitignore
.gitmodules
Homestead.yaml
Homestead_linux.yaml
Homestead_windows.yaml
LICENSE.md
OS.rb
README.md
TODO
Vagrantfile
after.sh
artisan
composer.json
composer.lock
phpunit.xml
sami.php
server.php

README.md

Japankitty

Codacy Badge Codacy Badge CircleCI

Server-side of Japankitty service, writthen mostly in PHP using Laravel framework

Installation

#optional, download if you want to use Homestead or have frontend
git submodule update --init --recursive

#optional if you wish to have frontend
cd frontend
npm run build-laravel

Homestead

# download Homestead as described above
# run Homestead box
vagrant up
#ssh to box
vagrant ssh
# stop box (maybe not elegant way)
vagrant halt

#Varoius commands

#optional, download if you wish to generate documentation
curl -O http://get.sensiolabs.org/sami.phar


# install required dependencies (also installed on vagrant up)
composer update
#regenerate php includes (may come in handy)
composer dump-autoloader

Testing and coverage

Testing and coverage is handled by PHPUnit and automated for PRs with Codacy

#run tests manually
./vendor/bin/phpunit
#run coverage audition manually
#BTW this path is used by codacy if running manually, php-xdebug is required
./vendor/bin/phpunit --coverage-xml build/coverage-xml/

#run codacy manually, usually not needed
export CODACY_PROJECT_TOKEN="your project token here"
./vendor/bin/codacycoverage phpunit
You can’t perform that action at this time.