- php 5.6+
git clone https://github.com/jiemoon/Jblog.git
cd Jblog
composer install
yarn // or npm install
php artisan migrate --seed
yarn run dev
You can access the Admin Cpanel through http://jblog.app/cpanel
user:pwd: admin@admin.com:123456
We use Mina to deploy our project.
gem install mina
mina init
The config file will in /config/deploy.rb. You can refer to the config/deploy.rb.sample
.
After complete the mina config, we can use mina deploy
to deploy our project.
You can use acme.sh to enable https.
php artisan make:model Models\\Article -m