Improve install instructions and scripts ;)
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
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
Thanks. Please try out my instructions for a sanity check, then adjust appropriately :)
I just changed the server this weekend and haven't updated the instructions yet oops
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
Just updated the instructions, it should make more sense now. I'll write some scripts per your suggestions too.
Gracias! Spasiba! Will have a look :)