-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
504 changed files
with
93,137 additions
and
2,615 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
root = true | ||
|
||
[Makefile] | ||
indent_style = tab | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_style = tab | ||
indent_size = 4 | ||
|
||
[*.yml] | ||
indent_size = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,7 @@ system/config/app.config.local.php | |
|
||
*.log | ||
*.psd | ||
|
||
/nbproject/ | ||
/vendor/ | ||
/node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
imports: | ||
- php | ||
|
||
tools: | ||
external_code_coverage: | ||
timeout: 600 | ||
php_mess_detector: true | ||
php_cpd: true | ||
php_code_sniffer: | ||
config: | ||
standard: PSR2 | ||
php_pdepend: true | ||
php_analyzer: true | ||
sensiolabs_security_checker: true | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
language: php | ||
|
||
sudo: false | ||
|
||
php: | ||
- 5.5 | ||
- 5.6 | ||
- hhvm | ||
- 7.0 | ||
|
||
matrix: | ||
allow_failures: | ||
- php: [hhvm, 7.0] | ||
|
||
before_script: | ||
- curl -s http://getcomposer.org/installer | php | ||
- php composer.phar install --dev --no-interaction | ||
|
||
script: | ||
- mkdir -p build/logs | ||
- phpunit --coverage-text --coverage-clover build/logs/clover.xml | ||
|
||
after_script: | ||
- wget https://scrutinizer-ci.com/ocular.phar | ||
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
## [2.0.0] - 2016-11-01 | ||
### Added | ||
* Composer project file | ||
* PHPUnit configuration file | ||
* PSR-4 Autoload | ||
* Travis CI configuration file | ||
* Scrutinizer CI configuration file | ||
* Editor configuration file | ||
* NPM and Gulp configuratoin file | ||
|
||
### Changed | ||
* Classes are loaded by namespaces instead of manual loading | ||
* Scripts keys dots replaced by underscores | ||
|
||
### Removed | ||
* Manual include of the modules | ||
* Modules location constants |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,12 +13,29 @@ Dependencies | |
- Apache 2.4.7 | ||
- PHP 5.5.9 | ||
- MySQL 5.5.49 | ||
|
||
- Composer | ||
|
||
Installation | ||
------------ | ||
|
||
Procedure for a local install : | ||
If you wish, you can use the [Docker repository](https://github.com/rtfmcorp/asylamba-docker) to install your environment. | ||
|
||
This section is only about the game install and assume your environment is ready. | ||
|
||
First, you must clone the game repository. To do so, please use the following command : | ||
|
||
```sh | ||
git clone [email protected]:rtfmcorp/asylamba-game.git | ||
``` | ||
|
||
Then, go in the created folder and install the project dependencies with [Composer](https://getcomposer.org/) : | ||
|
||
```sh | ||
cd asylamba-game | ||
composer install | ||
``` | ||
|
||
You're now able to follow the install procedure : | ||
|
||
- copy the file `index.default.php` and name it `index.php`, modify the `PUBLICR` constant with your own path | ||
- copy the file `system/config/app.config.local.default.php` and name it `app.config.local.php`, modify the `APP_ROOT` constant and some others if needed (connection to database, and so on.) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,12 +13,29 @@ Dépendances | |
- Apache 2.4.7 | ||
- PHP 5.5.9 | ||
- MySQL 5.5.49 | ||
|
||
- Composer | ||
|
||
Installation | ||
------------ | ||
|
||
Procédure pour une installation locale : | ||
Si vous le souhaitez, vous pouvez utiliser le [dépôt Docker](https://github.com/rtfmcorp/asylamba-docker) du projet pour installer votre environnement. | ||
|
||
Cette seciton traite uniquement de l'installation du jeu et suppose que votre environnement est prêt. | ||
|
||
Tout d'abord, vous devez cloner le dépôt du jeu. Pour ce faire, ouvrez une invite de commandes, et entrez la commande suivante : | ||
|
||
```sh | ||
git clone [email protected]:rtfmcorp/asylamba-game.git | ||
``` | ||
|
||
Ensuite, rendez-vous dans le dossier nouvellement créé et installez les dépendances du projet à l'aide de [Composer](https://getcomposer.org/) : | ||
|
||
```sh | ||
cd asylamba-game | ||
composer install | ||
``` | ||
|
||
Vous pouvez ensuite suivre la procédure suivante : | ||
|
||
- copier `index.default.php` et le renommer en `index.php`, y modifier la constante `PUBLICR` avec votre chemin | ||
- copier `system/config/app.config.local.default.php` et le renommer `app.config.local.php`, y modifier la constante `APP_ROOT` et d'autres infos (connexion à la base de données, etc.) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"name": "rtfmcorp/asylamba-game", | ||
"type": "project", | ||
"autoload": { | ||
"psr-4": { | ||
"Asylamba\\": "system/" | ||
} | ||
}, | ||
"require": { | ||
"php": ">=5.5.9", | ||
"phpunit/phpunit": "4.8" | ||
} | ||
} |
Oops, something went wrong.