Giter Site home page Giter Site logo

shanhufaka's Introduction

珊瑚发卡 - (专注一站式自动发货体系)


请仔细阅读安装说明教程,大部分问题都是因为没有仔细阅读安装教程导致系统无法正常运行。无论什么时候当你使用一件产品的时候请先阅读它的”说明书“
本教程基于宝塔服务器管理软件Linux,如果你具有一定的运维经验,可参考本教程搭建自己的运行环境。

珊瑚发卡

前言 (文档请参考视频教程食用,因为我太懒了文档写得不是很详细)

开发架构: vue + laravel-admin
laravel内核版本:5.5+
开发初衷:目前市面上个人发卡频频爆出漏洞,导致用户损失,就连之前的云尚发卡也不能幸免!
自上代云尚发卡维护期过后,由于内核的古老即框架的安全问题被迫放弃!
新版珊瑚发卡采用全新的laravel框架开发,程序安全性及健壮性更好。能为用户资产提供更好的保障!
珊瑚发卡专注于搭建用户自己的卡密一站式自动发货体系。

预览demo: demo网站

官方网站:珊瑚发卡官网

如果github下载代码过慢,请加入QQ群在群文件下载!

交流QQ群:568679748 (为防止部分灌水及广告加入,已设置5元入群费用)

视频教程:https://share.weiyun.com/5YsenZt

鸣谢:LaravelLaravel-admin等优秀开源项目

支付接口已集成

  • 支付宝当面付
  • 码支付(QQ/支付宝/微信)
  • 微信企业扫码支付

一 环境准备篇

  • 一台linux内核的vps或云服务器(不支持windows及虚拟主机)
  • php版本 > 7.0(推荐使用7.2)
  • Mysql版本 5.7
  • Redis5.0+
  • nginx 1.16或以上
  • Supervisor进程管理

二 环境安装

当完成第一步所有软件时,我们还需要对一些软件进行配置。

  1. 安装php的fileinfo扩展

  2. 删除部分禁用函数(本发卡基于laravel内核开发,一些函数禁用会导致定时任务无法正常启动!) 需要删除的函数:putenv,proc_open,symlink,pcntl_signal,pcntl_alarm


三 软件安装篇

  1. 新建一个网站

  2. 上传程序至网站根目录并解压

  3. 点击网站设置,配置文件 规则为:

index index.html index.php;
set $fe_root_path '/var/www/shanhufree/public/dist';
set $rd_root_path '/var/www/shanhufree/public';
root $fe_root_path;
 location /vendor/ {
        root  $rd_root_path;
    }
      location /storage/ {
        root  $rd_root_path;
    }
    location ~ \.php$ {
	  root          $rd_root_path;
       try_files    $uri =404;
       fastcgi_index  /index.php;
       fastcgi_pass   unix:/tmp/php-cgi-72.sock;
       include fastcgi_params;
       fastcgi_split_path_info       ^(.+\.php)(/.+)$;
       fastcgi_param PATH_INFO       $fastcgi_path_info;
       fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
       fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    }

$fe_root_path$rd_root_path 这两个变量里面的目录请按照自己的实际网站根目录填写,不要照抄我的示例,不改成你自己的目录是运行不起来的!

其他:

后台登录地址:/shmanage 默认账号密码都是:admin

队列监听命令:/artisan queue:work --queue=emails,orderclean

软连接创建命令: sudo -u www php artisan storage:link

队列重启命令: sudo -u www php artisan queue:restart

调试完成后请将根目录.env文件里面APP_DEBUG=true改为APP_DEBUG=false

LOGO图片及前端静态资源在根目录:public/dist/static

声明:

本程序仅做免费交流使用,任何人用于任何违法国家法律法规的用途均与项目作者无关!

shanhufaka's People

Contributors

assimon avatar

Watchers

James Cloos avatar

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.