hiqdev / hisite-template
HiSite Project Template
Installs: 262
Dependents: 0
Suggesters: 0
Security: 0
Stars: 16
Watchers: 5
Forks: 2
Open Issues: 1
Type:project
Requires
- hiqdev/hisite: <2.0 || dev-master || 3.0.x-dev
- hiqdev/yii2-language: <2.0 || dev-master
- hiqdev/yii2-monitoring: <2.0 || dev-master
- hiqdev/yii2-pnotify: <2.0 || dev-master
- hiqdev/yii2-theme-flat: <2.0 || dev-master
Requires (Dev)
- hiqdev/hidev: <2.0 || dev-master
- hiqdev/hidev-php: <2.0 || dev-master
- yiisoft/yii2-debug: ^2.0
This package is auto-updated.
Last update: 2024-10-25 21:38:47 UTC
README
HiSite Project Template
HiSite is a base project for building modular Yii2 web applications from plugins.
This package is a template to start your HiSite project with.
It includes:
- hisite - HiSite basic project
- yii2-theme-flat - Flat theme
- yii2-pnotify - flash notifications with JQuery PNotify
- yii2-language - language detecting and switching
- yii2-monitoring - application monitoring
Installation
Preferred way to install this project is through composer:
composer create-project --stability=dev "hiqdev/hisite-template:*" dir
To finish project installation run:
./vendor/bin/hidev deploy
You will see:
Created dir: ./public/
Created dir: ./public/assets/
chmod ./public/assets '0777'
chmod ./runtime '0777'
And that's it — the project is ready to be served with web server. But hidev can do a bit more for you.
Also see more on recommended Directory structure of this template.
Generate and install NGINX vhost config
Copy .env.dist to .env
and tune it to set project wide options:
ENV
- environment env/prod, will be used to setupYII_ENV
constantSSL
- enable SSL, used for NGINX configHOSTS
- hostname(s), used for NGINX config
To see generated NGINX config without actually installing it use the following command:
./vendor/bin/hidev nginx/dump
To install config and restart NGINX run:
./vendor/bin/hidev nginx/deploy
License
This project is released under the terms of the BSD-3-Clause license. Read more here.
Copyright © 2016-2017, HiQDev (http://hiqdev.com/)