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

Improve install instructions and scripts ;) #1

Open
kristianmandrup opened this issue May 27, 2015 · 6 comments
Open

Improve install instructions and scripts ;) #1

kristianmandrup opened this issue May 27, 2015 · 6 comments

Comments

@kristianmandrup
Copy link

Please make it even easier to install, perhaps via another node or bash script

PS: Couldn't seem to get ./server or ./client to work?

# install.sh
# npm install -g gulp
./install_server
./install_client
npm install
gulp babel
# install_server.sh
cd server
npm install && cd ..
# install_client.sh
cd client
npm install && jspm -y install && cd ..
# run-server.sh
cd es5_server/
npm install
node server
# Koa server up on port 3000
# run-client.sh
cd client/
gulp watch
# http://localhost:9000

Open localhost:9000 in a browser

Yet I get browser console errors...

the server responded with a status of 404
System is not defined
@mgenev
Copy link
Owner

mgenev commented May 27, 2015

Thanks for the suggestions, I haven't done anything in this direction yet. I really should make it easier, but you know how it goes ;)

For server to work, in root you can do gulp babel, gulp watch, then run server js in the /es5_server folder, i'm transpiling it and running the result.

For the client, it's the skeleton app, the usual stuff should work... I'll try a fresh install to see

@kristianmandrup
Copy link
Author

Thanks. Please try out my instructions for a sanity check, then adjust appropriately :)

@mgenev
Copy link
Owner

mgenev commented May 27, 2015

I just changed the server this weekend and haven't updated the instructions yet oops

@mgenev
Copy link
Owner

mgenev commented May 27, 2015

Ah so, looks like jspm may have changed. In ./client:
npm install jspm install -y gulp watch

works, jspm -y install doesn't, but used to i think? or I got that piece wrong. I'll edit

@mgenev
Copy link
Owner

mgenev commented May 27, 2015

Just updated the instructions, it should make more sense now. I'll write some scripts per your suggestions too.

@kristianmandrup
Copy link
Author

Gracias! Spasiba! Will have a look :)

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

No branches or pull requests

2 participants