simple-sinatra-mvc:简单的Sinatra MVC模板

时间:2021-05-01 22:41:40
【文件属性】:
文件名称:simple-sinatra-mvc:简单的Sinatra MVC模板
文件大小:220KB
文件格式:ZIP
更新时间:2021-05-01 22:41:40
ruby heroku sinatra webpack sinatra-mvc 简单的Sinatra MVC模板 包含什么 通过NPM支持SASS PostgreSQL gem(pg) 小马 鲁科科普 多很多 目录 入门 $ git clone --depth 1 git://github.com/kathgironpe/simple-sinatra-mvc.git myapp $ rm -r myapp/.git && rm myapp/README.md 安装 使用捆绑软件安装gem $ bundle install --no-deployment 使用npm安装一些依赖项 $ npm i 启动服务器 $ rackup 测验 单元测试 使用RSpec进行单元测试和功能测试。 $ bundle exec rake spec 验收测试 对于验收测试,还提供了一些示例。 用: cucumber 或使用rake任务lib / tasks / te
【文件预览】:
simple-sinatra-mvc-master
----.gitignore(113B)
----tsconfig.json(209B)
----README.md(7KB)
----.rubocop.yml(173B)
----views()
--------pages()
--------layout.slim(628B)
----dependencies.rb(387B)
----Gemfile(671B)
----db()
--------migrate()
--------schema.rb(1KB)
----Guardfile(182B)
----app()
--------models()
--------helpers()
--------assets()
--------controllers()
----.rspec(27B)
----package.json(1KB)
----features()
--------support()
--------step_definitions()
--------home_page.feature(133B)
----config()
--------database.yml.example(348B)
----postcss.config.js(81B)
----spec()
--------spec_helper.rb(174B)
----tailwind.config.js(22KB)
----main.rb(936B)
----webpack.config.js(752B)
----config.ru(123B)
----lib()
--------tasks()
----Rakefile(114B)
----package-lock.json(1.17MB)

网友评论