ceus-media / hydrogen-app
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
Requires
- ceus-media/bootstrap: ^0
- ceus-media/common: ^0.8
- ceus-media/hydrogen-framework: ^0.8
- ceus-media/hydrogen-modules: dev-master
- ceus-media/mail: ^2
- ceus-media/open-graph: ^0
This package is auto-updated.
Last update: 2024-10-27 01:30:58 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
toconfig/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.