Git Product home page Git Product logo

vuejs_book_last_chapter_demo_backend's Introduction

思路乐购-**商城

提纲/目录

  1. 源代码位置
  2. 下载办法
  3. 服务器要求
  4. 环境的配置
  5. 安装
  6. 用到的主要技术
  7. 性能指标

服务器要求

  • Linux: ubuntu 14.04 LTS

环境的配置

  • Ruby: 2.2.4p230
  • Mysql: 5.5+

数据库的结构

可以查看 database_structure.sql

安装

  1. 下载并配置项目文件

    $ git clone https://git.coding.net/sweetysoft/si_lu_le_gou_web.git
    $ cd pin_tuan_bao_web
    

$ 修改config/database.yml文件,调整好其中数据库的配置 $ 修改config/log4r.yml文件,调整好其中的日志配置 $ bundle install $ bundle exec rake db:create $ bundle exec rake db:migrate ```

  1. 运行 God

    $ bundle exec god -c calculate.god
    
  2. 运行 Rails 服务器

    $ bundle exec thin -C start config/thin.conf
    
  3. 启动 Delayed job $ bundle exec RAILS_ENV=production bin/delayed_job -n 3 start

用到的主要技术

  1. God 用于保证自动抓取脚本的稳定运行
  2. rufu-scheduler 保证抓取脚本定时执行

性能指标

  1. 首页监控记录以及各个统计页面数据加载时间;

目前部署

  1. bundle exec cap deploy

vuejs_book_last_chapter_demo_backend's People

Contributors

sg552 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.