ceus-media/hydrogen-app

There is no license information available for the latest version (0.1.1) of this package.

Application skeleton to start with for a Hydrogen project.

Installs: 22

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Language:Makefile

Type:project

0.1.1 2018-09-07 12:06 UTC

This package is auto-updated.

Last update: 2024-04-19 22:16:15 UTC


README

Application skeleton to start with for a Hydrogen project.

Installation

TLDR: composer create-project ceus-media/hydrogen-app -sdev -n && cd hydrogen-app && ./install.sh

Clone an empty application skeleton:

composer create-project ceus-media/hydrogen-app -sdev -n

Afterwards change into project folder and run setup for development:

cd hydrogen-app

There you will find 2 hymn files, which can be used to install different base applications. Using the .hymn.normal.dev will install a Hydrogen app with database and email support and the pages modules. You will need to have a prepared and empty database for that.

If you only want to take a short look or try something without database or email support, you can use the .hymn.mini.dev. We will use this one for now, by copying it to be the installation script for development:

cp .hymn.mini.dev .hymn.dev

No we announce development mode:

make set-install-mode-dev

This will copy:

  • config/config.ini.dev to config/config.ini
  • .hymn.dev to .hymn

Now you are ready to install application modules. There are several installation types with or without database import. For now, we will only install the application files, since we set to go without any database:

make install-files-only

During installation you will be prompted for some information:

  • OS filesystem user and group
  • URL of application

Having all set up, the installer will use composer to manage dependencies and hymn to install the modules, defined in the .hymn files, aswell all related modules. The final step is to set the file and folder permissions on all installed files.

Finally, you can access the application using your browser.