HiSite Project Template
This package is a template to start your HiSite project with.
Preferred way to install this project is through composer:
composer create-project --stability=dev "hiqdev/hisite-template:*" dir
HiSite uses hidev to automate repetitive tasks:
yii console script
To finish project installation run:
You will see:
Created dir: ./web/
Created dir: ./web/assets/
chmod ./web/assets '0777'
Written file: ./web/index.php
Written file: ./web/robots.txt
Copied file: ./web/favicon.ico
chmod ./runtime '0777'
Written file: ./src/config/bootstrap.php
And that's it — the project is ready to be served with web server. But hidev can do a bit more for you.
Copy .env.example to
.env and tune it to set project wide options:
ENV - environment env/prod, will be used to setup
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:
To install config and restart NGINX run:
Copyright © 2016-2017, HiQDev (http://hiqdev.com/)