Giter Club home page Giter Club logo

cxlab's Introduction

创新实验室管理系统一期工程(cxlab)


如何安装源代码

首先,你需要自行安装好rails开发环境。所有软件的版本如下:

  • ruby 2.0及以上

  • gem 2.4及以上

  • rails 4

其次,在gitlab中fork我们的资源库然后,运行下面的命令克隆这个资源库

git clone [email protected]:{你的用户名}/cxlab.git

接下来,将当前目录更改到cxlab目录

cd cxlab

运行bundle install

bundle install

然后,你需要安装mysql数据库,用户名和密码请参照我们项目中config/database.yml中的值设置,一般情况下这个值是:

用户名: cxlab
密码: db@cxlab

接下来运行

rake db:setup
rake db:seed

第一个语句会创建数据库结构,第二个语句会插入默认数据

然后,就可以运行下面的语句开启本地开发服务器了

rails server

如何按照要求开发?

运行测试用例

如何提交代码?

  • System dependencies

  • Configuration

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

Please feel free to use a different markup language if you do not plan to run rake doc:app.

cxlab's People

Contributors

blkstone avatar filow avatar innerac avatar jetmuffin avatar mrsummit avatar

Stargazers

 avatar  avatar  avatar

Watchers

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