GithubHelp home page GithubHelp logo

mollylin / middleman-bss Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hello-jason/middleman-bss

0.0 1.0 0.0 204 KB

A Middleman starter theme with Twitter Bootstrap, Slim templates, and SCSS.

License: MIT License

Ruby 32.48% ApacheConf 50.57% HTML 6.51% CSS 8.23% JavaScript 2.21%

middleman-bss's Introduction

Dependency Status

Middleman (Bootstrap+Slim+SCSS)

A Middleman starter theme with Twitter Bootstrap, Slim templates, and SCSS.

Install this template

  • Clone middleman-bss into ~/.middleman. You will need to create this directory if it doesn't exist.
git clone https://github.com/hello-jason/middleman-bss.git ~/.middleman/middleman-bss

Using this template

  • Create a new Middleman project based on this template.
middleman init project-name --template=middleman-bss
  • This is your project, so you'll want to remove the included .git directory after initializing a new project.
rm -rf .git

That's it! Initialize your own git repo now, if you like. Delete everything above after initializing a project, and keep the content below as decent starting documentation for your project.


Middleman Website

Written with Ruby+Middleman

Included packages:

Included features:

  • Autoprefixer
  • CSS reset
  • HTML5 layout
  • Image compression
  • Asset minification
  • Favicon generation
  • Live Reload

Setup in development

git clone repo-path.git
cd project-dir
  • Install Ruby version set in .ruby-version
rbenv install && rbenv rehash
  • Setup local ruby (this number should reflect the ruby version that was just installed)
rbenv local 2.1.5
  • Install JavaScript runtime You need a JS runtime. For Nodejs, I suggest installing via nvm. For therubyracer, add gem "therubyracer": "x.x.x" to your Gemfile, then run bundle install

  • Install dependencies

gem install bundler && bundle install
  • Copy source/environment_variables.rb.sample to source/environment_variables.rb

  • Set site_url_production and site_url_development in source/environment_variables.rb

  • Start Middleman server

bundle exec middleman

Building

  • Run the following to build your website locally into a build folder
bundle exec middleman build

Deploying

Middleman-deploy can deploy a site via rsync, ftp, sftp, or git. Configure the deployment section of config.rb, then run the deploy command. Note, this will build for you before deploying.

bundle exec middleman deploy

middleman-bss's People

Contributors

alainsanguinetti avatar cmckni3 avatar hello-jason avatar

Watchers

 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.