improved README, PHP linting, bugs fixed

This commit is contained in:
Juan 2018-06-06 13:08:17 +02:00
parent d19438bad1
commit 91dec387fa
21 changed files with 62 additions and 44 deletions

2
.gitignore vendored
View File

@ -1,3 +1,3 @@
node_modules
build/
config.php
config.my.php

View File

@ -1,3 +1,20 @@
# Hedera
Hedera is the main page for Verdnatura.
Hedera is the main web page for Verdnatura.
## Getting Started
Required dependencies.
* PHP >= 7.0
* Node.js >= 8.0
Launch command line client.
```
$ php hedera-web.php -m method_path
```
## Built with
* [Webpack](https://webpack.js.org/)
* [MooTools](https://mootools.net/)
* [TinyMCE](https://www.tinymce.com/)

View File

@ -14,10 +14,9 @@
* - http://test.mydomain.org -> config.test.php
*/
return [
/**
* Database parameters.
**/
*/
'db' => [
'host' => 'localhost'
,'port' => 3306
@ -25,5 +24,4 @@ return [
,'user' => 'hedera-web'
,'pass' => ''
]
];

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
hedera-web (1.406.04) stable; urgency=low
hedera-web (1.406.05) stable; urgency=low
* Initial Release.

3
debian/install vendored
View File

@ -1,4 +1,5 @@
conf/* etc/hedera-web
apache.conf etc/hedera-web
config.php etc/hedera-web
web usr/share/php/vn
doc/* usr/share/doc/hedera-web
hedera-web.php usr/share/hedera-web

View File

@ -1,6 +1,8 @@
<?php
@include_once __DIR__.'/env.php';
if (file_exists(__DIR__.'/env.php'))
include_once __DIR__.'/env.php';
require_once 'vn-autoload.php';
$webApp = new Vn\Web\App('hedera-web');

View File

@ -1,6 +1,6 @@
{
"name": "hedera-web",
"version": "1.406.04",
"version": "1.406.05",
"description": "Verdnatura web page",
"license": "GPL-3.0",
"repository": {