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 pm2 init to bootstrapping #97

Closed
grtjn opened this issue Jun 21, 2016 · 2 comments
Closed

Add pm2 init to bootstrapping #97

grtjn opened this issue Jun 21, 2016 · 2 comments
Assignees
Milestone

Comments

@grtjn
Copy link
Owner

grtjn commented Jun 21, 2016

Roughly:

After that you should be able to do stuff like:

  • sudo -u pm2 pm2 list
@grtjn grtjn added this to the 1.0.2 milestone Jun 21, 2016
@grtjn
Copy link
Owner Author

grtjn commented Jun 21, 2016

For pm2 deploy setup you also need to be able to access /space/projects with your own user (without sudo). Do:

  • sudo chown :sshuser /space/projects
  • sudo chmod g+w /space/projects

@grtjn
Copy link
Owner Author

grtjn commented Jun 21, 2016

You probably also want to setup an ssh key in your git account, and install that key on the server too. You can then do git clone without user/pwd. Just make sure the git server fingerprint is known in your rsa hosts list.

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

No branches or pull requests

1 participant