Skip to content

VasekPurchart/khanovaskola-v3

 
 

Repository files navigation

Khanova škola – verze 3

Build Status Dependency Status

License

MIT License, see LICENSE.md

Link directory

adminer
/tools/db/
mail trap
https://mailtrap.io/inboxes/23883/messages
elasticsearch console
http://www.elastichq.org/app/index.php?url=http://localhost:9200
beanstalkd console
http://vagrant.khanovaskola.cz/tools/beanstalk/public/
opcache dashboard
/tools/opcache/

Documentation

See doc/readme.md.

Requirements

All required dependencies are avaiable for both both Unix and Windows OSes.

Server:

  • php 5.5
  • postgres 9.3.5
  • elasticsearch 1.2
  • elasticsearch/elasticsearch-analysis-icu/2.2.0
  • rabbitmq
  • bc
  • redis (optional)

Dev / tests:

  • phantomjs
  • casperjs
  • nodejs
  • gulp

Setup

install git hooks:

sh bin/install-hooks

Encrypted files

https://github.com/StackExchange/blackbox

Following files are GPG crypted: blackbox files

Following developers can decrypt those files: blackbox admins

Data Model

Content Structure Schema

Database Schema

Info

Commit tags:

  • [test]
  • [cs] Coding standard, code smell removal, whitespace, etc. Should not affect build.
  • [dev] Vagrant setup, dev stack edits, etc. Should not affect build.

skip codesniffer pre-commit hook

git commit --no-verify

run unit tests:

php vendor/bin/tester -c /etc/php5/cgi/php.ini tests/unit/

run acceptance tests with debug on:

casperjs test --config=tests/cept/config.json --log-level=debug --includes=tests/cept/bootstrap.js tests/cept/cases --verbose

run coding style (cs) tests:

sh tests/cs/run.sh

invoke console:

php www/index.php

create new migration from template:

php www/index.php scaffolding:migration:sql note-what-are-you-changing

recreate elasticsearch mappings and repopulate

php www/index.php es:recreate && php www/index.php es:populate

run migrations:

php www/index.php migrations:migrate

build frontend:

gulp

Releases

No releases published

Packages

No packages published

Languages

  • HTML 56.5%
  • JavaScript 33.0%
  • CSS 6.2%
  • PHP 3.8%
  • CoffeeScript 0.3%
  • Python 0.1%
  • Other 0.1%