在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:middleman/middleman开源软件地址:https://github.com/middleman/middleman开源编程语言:Ruby 58.3%开源软件介绍:Middleman - Makes developing websites simpleMiddleman is a static site generator using all the shortcuts and tools available in modern web development. Check out middlemanapp.com for detailed tutorials, including a getting started guide. You can also follow @middlemanapp for updates. Why Middleman?These days, many websites are built with an API in mind. Rather than package the frontend and the backend together, both can be built and deployed independently using the public API to pull data from the backend and display it on the frontend. Static websites are incredibly fast and require very little RAM. A front-end built to stand-alone can be deployed directly to the cloud or a CDN. Many designers and developers simply deliver static HTML/JS/CSS to their clients.
Middleman gives the stand-alone developer access to all these tools and many, many more. InstallationMiddleman is built on Ruby and uses the RubyGems package manager for installation. These are usually pre-installed on Mac OS X and Linux. Windows users can install both using RubyInstaller. For windows RubyInstaller-Devkit is also required.
Getting StartedOnce Middleman is installed, you will have access to the
This will create a new Middleman project located in the "MY_PROJECT" directory. This project contains a Change directories into your new project and start the preview server:
The preview server allows you to build your site, by modifying the contents of the To get started, simply develop as you normally would by building HTML, CSS, and JavaScript in the For example, say I am working on a stylesheet at Finally, you will want to build your project into a stand-alone site. From the project directory:
This will compile your templates and output a stand-alone site which can be easily hosted or delivered to your client. The build step can also compress images, employ JavaScript & CSS dependency management, minify JavaScript & CSS and run additional code of your choice. Take a look at the Learn MoreA full set of in-depth instructional guides are available on the official website at: https://middlemanapp.com Additionally, up-to-date generated code documentation is available on RubyDoc CommunityThe official community forum is available at: https://forum.middlemanapp.com Contributing to MiddlemanContributions are welcomed! To get started, please see our contribution guidelines, which include information on submitting bug reports, and running the tests. DonateClick here to lend your support to Middleman VersioningThis library aims to adhere to Semantic Versioning 2.0.0. Violations of this scheme should be reported as bugs. Specifically, if a minor or patch version is released that breaks backward compatibility, that version should be immediately yanked and/or a new version should be immediately released that restores compatibility. Breaking changes to the public API will only be introduced with new major versions. As a result of this policy, you can (and should) specify a dependency on this gem using the Pessimistic Version Constraint with two digits of precision. For example:
LicenseCopyright (c) 2010-today Thomas Reynolds. MIT Licensed, see LICENSE for details. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论