Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation on readme about setting up local server #48

Open
sammdec opened this issue Apr 22, 2016 · 4 comments
Open

Add documentation on readme about setting up local server #48

sammdec opened this issue Apr 22, 2016 · 4 comments
Labels

Comments

@sammdec
Copy link

sammdec commented Apr 22, 2016

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.

@garrensmith
Copy link
Member

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

@lachlanjc lachlanjc added the docs label Apr 25, 2016
@james-oldfield
Copy link
Contributor

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?

@sebastienbarre
Copy link
Contributor

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.

@johno
Copy link
Member

johno commented Dec 20, 2016

👍 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants