Giter Site home page Giter Site logo

static_template's Introduction

Static Site Template

In order to properly develop a website, HTML and CSS files must be sent to your browser by a web server. This little template uses a ruby web server, and serves your plain HTML and CSS files from the public/ directory.

It's stolen from inspired by Heroku's excellent template.

How to set up

  1. Fork this repository, and name your fork after your project.
  2. Clone your fork into your machine. (git clone <your-ssh-url>)
  3. cd your_project_name.
  4. Run bundle install. You only need to do this once.
  5. To start the local server, run rackup -p 3000 from the project directory. This will start the server on port 3000 of your machine.

If you are running this on your local machine, you can then visit http://localhost:3000 in your browser to see your code.

If you add an HTML file to the public/ folder, you can see it in your browser by visiting http://localhost:3000/your_file.html.

If you are using Nitrous.io, you can click "Preview - Port 3000" to view your site.

static_template's People

Contributors

danielberkompas avatar zberkom avatar

Watchers

 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.