GithubHelp home page GithubHelp logo

thoughtbot / middleman-template Goto Github PK

View Code? Open in Web Editor NEW
86.0 7.0 35.0 80 KB

The base Middleman application used at thoughtbot, ready to deploy to Netlify.

Home Page: https://thoughtbot.com

License: MIT License

Ruby 28.04% Shell 6.38% CSS 61.17% HTML 4.41%
middleman middleman-template netlify template ruby

middleman-template's Introduction

Middleman Template

The base Middleman application used at thoughtbot, ready to deploy to Netlify.

Prerequisites

  • Ruby 2.6.6 (confirm by running ruby --version)

Usage

  1. Make sure you have Middleman installed:

    gem install middleman
    
  2. Then run:

    middleman init PROJECT_NAME --template=thoughtbot/middleman-template
    

    This will create a new Middleman app in a PROJECT_NAME directory.

  3. Move into the project directory, then start the Middleman server:

    bundle exec middleman server
    

    You should now be able to view the app at http://localhost:4567.

  4. At this point, you have a fresh Middleman app on your local machine with an empty Git repository initialized. Your next steps might be:

    • Update README.md with your project specifics
    • Create a GitHub repository and add it as a remote
    • Create an initial Git commit and push it to GitHub
    • Setup CircleCI
    • Setup Hound
    • Setup deployment with Netlify

    Happy building!

Configuration

This template comes with the following features and tools:

Contributing

See the contributing document. Thank you, contributors!

License

Copyright © 2018 Tyson Gach and thoughtbot, inc. This is free software, and may be redistributed under the terms specified in the LICENSE file.

About

thoughtbot

This project is maintained and funded by thoughtbot, inc. The names and logos for thoughtbot are trademarks of thoughtbot, inc.

We love open source software! See our other projects or hire us to help build your product.

middleman-template's People

Contributors

composerinteralia avatar dependabot-support avatar hanlee25 avatar tysongach avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

middleman-template's Issues

Turn into a Middleman Project Template

Netlify is a fantastic tool and suites us well for deploying Middleman app. The Netlify deploy button, though, is a bit confusing.

One big pain point I have is when you click the deploy button the readme, Netlify doesn't allow you to change the name of the repo its about the create. This is a problem for other thoughtbot developers because we obviously already have a repo in the thoughtbot org called middleman-template. I also believe it assumes it should use you personal GitHub account to fork the template, too, and that's often not what we want.

Middleman also offers a feature called Project Templates, which is a way to setup a GitHub repo to house a Middleman template. We can shuffle a few files around and instead utilize Middleman's Project Template feature instead of the Netlify deploy button to kick off a new project using our template. You can still easily deploy the project to Netlify once you're ready, you just won't start with Netlify. I think that's a fine trade-off. You usually don't need a deployed site the minute you create a new project.

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.