https://github.com/hiqdev/hisite-template
HiSite Project Template
https://github.com/hiqdev/hisite-template
app hacktoberfest template yii2
Last synced: 4 months ago
JSON representation
HiSite Project Template
- Host: GitHub
- URL: https://github.com/hiqdev/hisite-template
- Owner: hiqdev
- License: bsd-3-clause
- Created: 2016-08-22T11:29:06.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-10-25T10:30:14.000Z (over 6 years ago)
- Last Synced: 2025-04-07T07:41:25.453Z (about 1 year ago)
- Topics: app, hacktoberfest, template, yii2
- Homepage: https://hisite.hiqdev.com/
- Size: 30.3 KB
- Stars: 16
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HiSite Template
**HiSite Project Template**
[](https://packagist.org/packages/hiqdev/hisite-template)
[](https://packagist.org/packages/hiqdev/hisite-template)
[](https://travis-ci.org/hiqdev/hisite-template)
[](https://scrutinizer-ci.com/g/hiqdev/hisite-template/)
[](https://scrutinizer-ci.com/g/hiqdev/hisite-template/)
[](https://www.versioneye.com/php/hiqdev:hisite-template/dev-master)
[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
[yii2]: http://www.yiiframework.com/
[HiSite]: https://github.com/hiqdev/hisite
[yii2-theme-flat]: https://github.com/hiqdev/yii2-theme-flat
[yii2-theme-original]: https://github.com/hiqdev/yii2-theme-original
[yii2-pnotify]: https://github.com/hiqdev/yii2-thememanager
[yii2-language]: https://github.com/hiqdev/yii2-language
[yii2-monitoring]: https://github.com/hiqdev/yii2-monitoring
[pnotify]: https://github.com/sciactive/pnotify
[](https://hisite.hiqdev.com/)
## Installation
Preferred way to install this project is through [composer]:
```sh
composer create-project --stability=dev "hiqdev/hisite-template:*" dir
```
To finish project installation run:
```sh
./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.
[Directory structure]: docs/DirectoryStructure.md
### 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 setup `YII_ENV` constant
- `SSL` - enable SSL, used for NGINX config
- `HOSTS` - hostname(s), used for NGINX config
To see generated NGINX config without actually installing it use the following command:
```sh
./vendor/bin/hidev nginx/dump
```
To install config and restart NGINX run:
```sh
./vendor/bin/hidev nginx/deploy
```
[composer]: http://getcomposer.org/download/
[.env.dist]: .env.dist
[hidev]: https://github.com/hiqdev/hidev
[chkipper]: https://github.com/hiqdev/chkipper
## License
This project is released under the terms of the BSD-3-Clause [license](LICENSE).
Read more [here](http://choosealicense.com/licenses/bsd-3-clause).
Copyright © 2016-2017, HiQDev (http://hiqdev.com/)