Giter VIP home page Giter VIP logo

story's Introduction

近期会使用laravel5.5对该项目进行重写, 使用全自动更新策略, 无需人工干预。

安装

git 下载本程序

git clone https://github.com/simon-8/story.git story
cd story

通过composer安装程序所需扩展

composer install

运行安装脚本, 按提示输入相关信息

php artisan story:install

install

修改.env配置文件

APP_URL=http://域名
WAP_URL=http://移动站域名
IMG_URL=http://图片存储二级域名 (选填)
STATIC_URL=http://静态文件存储路径 (选填)

# 七牛相关配置 (选填)
QINIU_ACCESS_KEY=七牛access_key
QINIU_SECRET_KEY=七牛secret_key
QINIU_BUCKET_NAME=七牛的空间名称

后台地址

http://你配置的域名/pc
账号: admin
密码: 123456

采集操作

在后台添加采集队列或者更新队列, 服务器运行php artisan queue:listen监听队列。

// 监听采集队列 推荐使用supervisor管理进程
nohup php artisan queue:listen --tries=3 

线上部署优化

#配置缓存
php artisan config:cache
#路由缓存
php artisan route:cache
#类映射加载优化
php artisan optimize --force

后台预览

story's People

Contributors

simon-8 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

story's Issues

静态文件

hi,博主,您那些css,js,images文件可否发一份过来,或者给个网盘链接,谢谢。

我在nginx上配置,但是没有改成功,请看下是什么原因吗?cat

server {
listen 80;
server_name xxxx.com;

charset UTF-8;

access_log /data/logs/add combined;

root /xxxx.com/public;

add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block";
add_header X-Content-Type-Options "nosniff";

index index.html index.htm index.php;

charset utf-8;

location / {
try_files $uri $uri/ /index.php?$query_string;
}

location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt { access_log off; log_not_found off; }

error_page 404 /index.php;

location ~ .php {
fastcgi_split_path_info ^(.+.php)(/.+)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
}

}

咨询

你用的时PHP什么版本解析的,我用PHP解析artisan时出现解析错误和警告

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.