tachyons-css.github.io icon indicating copy to clipboard operation
tachyons-css.github.io copied to clipboard

Add documentation on readme about setting up local server

Open sammdec opened this issue 9 years ago • 4 comments

While there are lots of options out there for local servers I think it could be handy for those looking to contribute and set up a local dev version. Happy to write them up and send a PR.

sammdec avatar Apr 22 '16 07:04 sammdec

We could look at using tachyons-webpack to do some of the heavy lifting.

garrensmith avatar Apr 22 '16 10:04 garrensmith

For now it might even be worthwhile adding a simple npm serve script as an alias for serving the root's index.html with python's SimpleHTTPServer for new contributors?

james-oldfield avatar May 25 '16 09:05 james-oldfield

Checking if this is still somebody is working on? or should we close? I wouldn't over-engineer it :) As far as local server is concerned, it could be as easy as running browser-sync at the root of the project (that's how I do all the testing this repo), e.g.:

    browser-sync start --server --browser "google chrome" --files=index.html,components

this starts a local server on :3000, opens index.html in Google Chrome, and watch it for changes, as well as anything changing in the components/ dir.

sebastienbarre avatar Dec 19 '16 22:12 sebastienbarre

👍 I think we can throw in a serve script that makes it as easy as possible, but let browser-sync do all the heavy lifting.

johno avatar Dec 20 '16 00:12 johno