infinito/administration
2019-01-19 12:54:46 +01:00
..
build.sh Optimized code and removed shellcheck errors 2019-01-05 12:38:58 +01:00
cleanup-ignored.sh Optimized code and removed shellcheck errors 2019-01-05 12:38:58 +01:00
clear.sh Optimized code and removed shellcheck errors 2019-01-05 12:38:58 +01:00
composer-update.sh Optimized code and removed shellcheck errors 2019-01-05 12:38:58 +01:00
copy-configuration.sh Optimized for SPA 2019-01-05 23:52:37 +01:00
format-code.sh Excluded checking of directory var from codesniffer 2019-01-05 18:55:13 +01:00
generate-coverage-report.sh Optimized code and removed shellcheck errors 2019-01-05 12:38:58 +01:00
init.sh Optimized code and removed shellcheck errors 2019-01-05 12:38:58 +01:00
load-fixtures.sh Optimized code and removed shellcheck errors 2019-01-05 12:38:58 +01:00
mysql.sh Optimized code and removed shellcheck errors 2019-01-05 12:38:58 +01:00
node-container-cli.sh Optimized for SPA 2019-01-05 23:52:37 +01:00
README.md Optimized documentation 2019-01-19 12:54:46 +01:00
recreate-database.sh Added script for recreating database 2019-01-05 17:14:06 +01:00
router.sh Optimized code and removed shellcheck errors 2019-01-05 12:38:58 +01:00
schema-update.sh Optimized code and removed shellcheck errors 2019-01-05 12:38:58 +01:00
schema-validate.sh Optimized code and removed shellcheck errors 2019-01-05 12:38:58 +01:00
services.sh Added service script 2019-01-06 19:39:25 +01:00
shellcheck.sh Added shellcheck to test-everything 2019-01-05 12:45:44 +01:00
start.sh Optimized code and removed shellcheck errors 2019-01-05 12:38:58 +01:00
stop.sh Optimized code and removed shellcheck errors 2019-01-05 12:38:58 +01:00
submodule-init.sh Optimized code and removed shellcheck errors 2019-01-05 12:38:58 +01:00
submodule-sync.sh Optimized code and removed shellcheck errors 2019-01-05 12:38:58 +01:00
symfony-container-cli.sh Optimized for SPA 2019-01-05 23:52:37 +01:00
test-code-format.sh Optimized code and removed shellcheck errors 2019-01-05 12:38:58 +01:00
test-everything.sh Implemented draft for API 2019-01-05 15:34:02 +01:00
test.sh Optimized code and removed shellcheck errors 2019-01-05 12:38:58 +01:00
total-clean.sh Optimized code and removed shellcheck errors 2019-01-05 12:38:58 +01:00

Administration

You MUST document all administration scripts in this file

In this folder you will find all necessary scripts to run and configure the application. The purpose of this scripts is to automize the administration process and help programmers to speed up their development and reduce the administration tasks of them.

Requirements

This scripts are optimized for Ubuntu, but may they will run on MAC OS.

Tested on a Ubuntu 18.04.1 LTS machine.

Initialization

To initialize the docker environment, please execute in the root:

bash administration/init.sh

Afterwards you can access the service via http://127.0.0.1:80.

Scripts

build.sh

This script builds the docker-compose environment and sets it up.

cleanup-ignored.sh

This script removes all files and folders which are ignored by git. Be careful with using it.

ATTENTION: You MUST study this script before you execute it!

clear.sh

This folder clears the productive and environment cache of the Symfony application.

composer-update.sh

This script updates the composer components.

copy-configuration.sh

This script copies the .env.dist files to the right locations.

format-code.sh

This script formats the PHP code with PHP-CS-Fixer.

generate-coverage-report.sh

This script generates a coverage report with PHPUnit.

init.sh

This script initialize the whole environment to let the application run local.

load-fixtures.sh

This script loads the Doctrine Fixtures.

mysql.sh

This script offers a CLI to interact with the database.

node-container-cli.sh

This script offers a CLI to interact with the node container.

recreate-database.sh

This script drops and creates the database.

router.sh

This script shows the possible Symfony routes.

schema-update.sh

This script updates the database schema based on Doctrines ORM

schema-validate.sh

This script validates the database schema based on Doctrines ORM

services.sh

This script shows the possible Symfony services.

schema-validate.sh

This script validates the administration scripts with shellcheck

start.sh

This script starts the local instance of the software. It can just be executed in an initialized environment.

stop.sh

This script stops the local instance of the software.

submodule.sh

This script pulls the git submodules.

submodule-init.sh

This script initializes the git submodules.

submodule-sync.sh

This script synchronizes the git submodules.

symfony-container-cli.sh

This script offers a cli for the symfony container.

test-code-format.sh

This script tests if the PHP code is formated well.

test-everything.sh

This script tests if all of the other test scripts succeed.

test.sh

This script executes the following tests of PHPUnit:

total-clean.sh

This script tests cleans all data of the local environment.

ATTENTION: You MUST study this script before you execute it!