GithubHelp home page GithubHelp logo

static's Introduction

static

Static website generator to push dynamic website to GitHub pages for static hosting.

Generate Static Pages from existing static/dynamic website. Preview. Deploy to GitHub Pages.

logo

The interface

setup Use if you currently do not have a git repo created on your machine. setup creates a git repo for the website to push up to GitHub pages.

add Like setup but use this if you already have a git repo created.

remove Removes existing site from your site config file. Does not delete content, just removes website from static's site list.

generate Generates static HTML files from your locally running website so you can then push up to GitHub pages.

preview Before deploying to GitHub pages, preview your changes locally on localhost:9000.

deploy Commits and pushes git changes to GitHub repository on the appropriate branch. Make sure to run generate before this.

add-domain Adds CNAME file to local directory where site is located to allow a custom domain on your website.

Installation

First, make sure you follow the requirements section before continuing on!

  1. Clone the repo: git clone [email protected]:levibostian/static.git
  2. Go into the root of static: cd static.
  3. Install ruby dependencies: bundler install
  4. Now run the program. Use this command to check out what static can do: ruby lib/main.rb -h

Requirements

Contributing

If you are hoping to add an even better experience to static, check out the existing issues or simply fork the repo, make some edits, and make a pull request.

static's People

Contributors

jakehp avatar levibostian 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

Watchers

 avatar  avatar

static's Issues

Static Commands

Hey Levi!
I'm attempting to use static but after cloning it and running the installs, bash still says that the static command doesn't exist... ruby lib/main.rb -h gives me the commands but none of them work. Am I missing a step here? What do you mean by run the program in the installation instructions?

sh.exe: static command not found

Thx for your tool but I am having some issues on windows 8.1

After typing in my command prompt(git shell):
static generate --site=127.0.0.1:2368

I got this error:
sh.exe: static command not found

Do I have to include something in my PATH ?
Or did I do a mistake while typing the command ?

Thanks in advance for your help :)

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.