Guillermo Bonet 359ddb5d18 | ||
---|---|---|
debian | ||
doc | ||
forms | ||
image | ||
js | ||
pages | ||
reports | ||
rest | ||
utils | ||
web | ||
.dockerignore | ||
.eslintrc.yml | ||
.gitignore | ||
Dockerfile | ||
Jenkinsfile | ||
LICENSE | ||
README.md | ||
apache.conf | ||
app.js | ||
config.php | ||
docker-compose.yml | ||
env.php | ||
hedera-web.php | ||
import.js | ||
index.php | ||
package-lock.json | ||
package.json | ||
php.ini | ||
webpack.config.js | ||
webpack.config.json |
README.md
Hedera
Hedera is the main web shop page for Verdnatura.
Prerequisites
Required applications.
- PHP >= 7.0
- Node.js >= 8.0
- php-vn-lib
Installing dependencies and launching
Pull from repository.
Run this commands on project root directory to install Node dependencies.
$ npm install
Install project dependences (debian/control).
Pull from repository php-vn-lib and install dependences of this project.
Configure config.php file.
Launch project fronted.
$ npm run front
Launch salix backend.
$ npm run db
$ npm run back
Launch project backend.
$ php -S 127.0.0.1:3001 -t . index.php
Command line
Run server side method from command line.
$ php hedera-web.php -m method_path