Nodes is a mixture of blogging platform and social media which makes reading and writing enjoyable.
- Web Server
- At Least PHP v5.4.0
- Relational Database - e.g: MySQL
- Suppervisor/PM2 for daemon
- FTP Server for CDN
You need following commands to install project dependencies.
composer global require "fxp/composer-asset-plugin:1.1.4" composer install
config/.env and fill it with real data. For instance:
# Database Configuration DB_DNS="mysql:host=localhost;dbname=nodes" DB_USERNAME="root" DB_PASSWORD="123456" DB_PREFIX="tbl_" ...
I've developed auto migrate module for Yii2, use following command to run all migrations
In production you need to minify assets, So run following command.
./yii asset assets.php config/assets-prod.php
There are many options to change, e.g: ftp configuration, urls, queues and ...
All of them can be found in
Capistrano is used for deployment. You can edit its files to deploy some where else.