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

update node version of the servers to >= 12 #278

Closed
Tracked by #298
syphax-bouazzouni opened this issue Jun 14, 2022 · 2 comments
Closed
Tracked by #298

update node version of the servers to >= 12 #278

syphax-bouazzouni opened this issue Jun 14, 2022 · 2 comments

Comments

@syphax-bouazzouni
Copy link
Contributor

syphax-bouazzouni commented Jun 14, 2022

For rails 7 we need node version >= 12
Steps to follow:

  1. Setup nodejs
curl -sL https://rpm.nodesource.com/setup_12.x | sudo bash -
  1. Update/Install yarn
## Run `sudo yum install -y nodejs` to install Node.js 12.x and npm.
## You may run dnf if yum is not available:
     sudo dnf install -y nodejs
## You may also need development tools to build native addons:
     sudo yum install gcc-c++ make
## To install the Yarn package manager, run:
     curl -sL https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo
     sudo yum install yarn
  1. Install nodejs
sudo yum clean all && sudo yum makecache fast
sudo yum install -y gcc-c++ make
sudo yum install -y nodejs
@syphax-bouazzouni
Copy link
Contributor Author

syphax-bouazzouni commented Jun 14, 2022

Done in

  • Testportal
  • Stageportal
  • Agroportal
  • Bioportal

@syphax-bouazzouni
Copy link
Contributor Author

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