Awesome Open Source
Awesome Open Source

Build Status

laravel5.2/

homestead

  • PHP7
  • Laravel5.2
  • composer
  • node.js
  • mysql
  • beanstalkd
  • redis

Linux
```bash
git clone http://github.com/copyrenzhe/novel.git
cd novel
composer install
npm install
```
```bash
cp .env.example .env
php artisan key:generate
touch .env  //
php artisan migrate
php artisan db:seed --class=CreateAdminSeeder
gulp
```
  1. 8000

    php artisan serve
    

    localhost:8000 localhost:8000/admin/admin/admin

  2. supervisor supervisord.conf()

    [program:worker]
    process_name=%(program_name)s_%(process_num)02d
    command=php /var/www/novel/artisan queue:work --sleep=3 --tries=1 --memory=512 --daemon
    autostart=true
    autorestart=true
    user=root
    numprocs=2
    redirect_stderr=true
    stdout_logfile=/var/www/novel/storage/logs/queue-worker.log
    
    
    [program:beanstalkd]
    process_name=%(program_name)s_%(process_num)s
    command=beanstalkd -l 127.0.0.1 -p 11300
    autostart=true
    autorestart=true
    numprocs=1
    redirect_stderr=true
    stdout_logfile=/var/www/novel/storage/logs/beanstalkd.log
    
    [program:redis]
    process_name=%(program_name)s_%(process_num)s
    command=redis-server
    directory=/root/soft/redis/src
    autostart=true
    autorestart=true
    numprocs=1
    redirect_stderr=true
    stdout_logfile=/var/www/novel/storage/logs/redis.log
    

> `.env``smtp`

  - 101830
  - 
  - 
  - 28
  - 
`.env`APPIDSECRETTOKENURL */wechat (*url)

Email: copyrenzhe [email protected]

Related Awesome Lists
Top Programming Languages

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Javascript (1,157,171
Laravel (41,618
Admin (21,752
Book (20,198
Scraper (12,079
Wechat (4,273
Watson (2,334
Datatable (2,147
Novel (1,826
Sitemap (1,569
Homestead (520
Beanstalkd (397