[WILFLC] Deploy nodejs server to DigitalOcean

 

    1. Push code lên git
    2. Access vào server bằng ssh
    3. Cài nodejs và npm:
    4. Clone code từ git về
    5. cd vào thư mục project 

    6. Cài  foreverjs =>
    7. Start server

      Khi có modify code thì chạy lại bằng:

 

 

 

 

Leave a Reply

Your email address will not be published.