Skip to content

Instantly share code, notes, and snippets.

@praveenKajla
Last active January 10, 2018 11:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save praveenKajla/0738491ae23c29fbce0cce152135542d to your computer and use it in GitHub Desktop.
Save praveenKajla/0738491ae23c29fbce0cce152135542d to your computer and use it in GitHub Desktop.

This Documentation is recieved as an artifact of utmost importance from the desert of the dead.

Humanity is almost dead and machines rule the world and they grow humans and use them as a source for their power. But don't lose the hope. Our Hero Neo is alive and is here to help you. Neo in collabration with Morpheus have built two applications / ...
/
/
Kliento Leseva to keep the humans of planet pocket aces free from any rival machines and to come up with new ideas. But to do that the system must be alive at all times

So Neo has come up with few commands to keep the system alive and kicking

All we have to do is

Leseva

 cd code/leseva

then

pm2 start --name leseva npm -- start

Kliento

 cd code/leseva
PORT=8080 pm2 start --name kliento npm -- start

new push or code updation

for every code updation in kliento we need to build client and server bundle by

first stop the pm2 kliento process(we can keep leseva running)

 pm2 stop kliento

then build the client and server bundles respectively

 npm run bundle:client -s
 npm run bundle:server -s

and then start the kliento process

pm2 start kliento
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment