Code Monkey home page Code Monkey logo

log's Introduction

log

本示例是一个基于Rails的简单Blog

示例log

目录结构

├── app
├── app.json
├── bin
├── config
│   └── puma.rb   # puma 配置文件
├── config.ru
├── db
├── Gemfile
├── Gemfile.lock
├── lib
├── log
├── Procfile   # 应用启动命令
├── public
├── Rakefile
├── README.md
├── test
└── vendor

本示例说明

  • 默认情况下 Rails 正常运行和测试都需要数据库配置,此处使用 rails new 生成的默认 sqlite3 配置.生产环境可根据需求使用mysql pg

本地运行

ruby 2.2.1

rails 4.2.1

请确认您的环境安装了 Ruby,

Bundler

git clone https://github.com/zskj/log.git
cd log
bundle install # 安装所需 gem 包
rails server # 可启动 web 服务器

访问 [localhost:3000]

##最后说明

1.用来学习rails 参照rails101s教程

2.本案例已经部署在 好雨云

3.由于是0基础学的rails,然后你们懂的...

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.