Giter Club home page Giter Club logo

nodejs-repo's Introduction

nodejs-repo

This repo to be used as an practice for github actions, it is originated from github-action-ci-cd-intro

Note the below should be followed on both productiona and staging environments:

Some problem faced in cd-vm-deployment workflow job: Deploy To staging

  1. solution for permiision denied on /var/app -> create it on the server VM -> sudo mkdir /var/app sudo sudo chmod -R 777 /var/app
  2. solution for permiision denied on /var/app/web -> create it on the server VM -> sudo mkdir /var/app/web chown -R ubuntu /var/app/web
  3. last problem on /var/app/web/ sudo chown -R ubuntu /var/app/web/

Prepare the staging environment:

  1. How to install node, npm and pm2 on Linux please follow these instructions: https://medium.com/@tushar.jadhav29/how-to-install-node-npm-and-pm2-on-linux-d0bd1a03aaac

Last error in "Execute SSH commands on remote server" job:

Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.

Solution: sudo /etc/init.d/apache2 stop sudo systemctl restart nginx sudo systemctl status nginx because apache2 is running, nginx cannot run and viseversa, so now nginx is running then apache2 is stoped and cannot be run on the same time with nginx

nodejs-repo's People

Contributors

halilili avatar halilili-user avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.