Git Product home page Git Product logo

willshop's Introduction

WillShop

这是一个个人试验性的项目,功能未完全完成

环境要求

  • Nginx 或 Apache

  • PHP7.1.3 或更新版本

  • Composer

  • MySQL5.7 及以上或对应的 MariaDB,数据库引擎使用 InnoDB

  • Node.js (含 npm)

推荐使用 Homestaed 作为开发环境

安装

  1. 克隆代码到自己想要的安装目录

  2. 配置 Apache 或 Nginx 站点

  3. 使用 composer install -vvv 安装 composer 依赖包

  4. 复制根目录下 .env.example 文件为 .env

  5. 生成 APP_KEY

    php artisan key:generate
  6. 创建数据库(请将数据库字符集设置为 utf8mb4 以便存储可能出现的 emoji 表情),然后在 .env 文件中配置数据库、邮件等相关参数

  7. 生成数据表

    php artisan migrate --seed

如果不需要填充测试数据,则后面的 --seed 选项可省略

使用

访问 http://域名/shop 进入项目首页。

目前仅针对移动端开发了页面,所以请使用手机访问或者使用 Chrome 浏览器调试工具模拟手机访问。

二次开发

本项目使用 Laravel 5.4 配套的 Laravel-mix 整合前端资源,因此需要有一个可用的 node.js 环境,包括 npm 等。

  1. 使用 npm install 命令安装相关依赖

  2. 运行 npm run watch 命令,将启动 browserSync 并监听文件变化

  3. 尽情编写代码,实现各种牛逼的功能……

贡献代码

欢迎反馈 BUG、提出建议或者提交 pull request

PHP 代码请务必遵守 PSR 规范。前端代码请使用 eslint 进行规范检查

License

MIT

willshop's People

Contributors

tianyong90 avatar 0xuhe avatar greenkeeper[bot] 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.