Setting up various JS Projects

Setting up various JS Projects

January 9, 2024
2024
Setup, Javascript, Nextjs

Setting up various JS Projects #

Following are steps for setting up various JS projects. This includes:

  1. NewScout
  2. Fafadia Tech’s Website
  3. LearnExponent

Steps #

Following are steps to ensure we have SSH key mapped correctly

  1. Log in to https://git.fafadiatech.com
  2. Click on the profile section.
  3. Select Your Settings.
  4. Navigate to SSH Keys.
  5. Ensure that your local machine SSH keys are correctly mapped.
  6. If SSH keys are not mapped click on “add key” button.Provide a key name (eg. zeeshan fafadia)
  7. In your terminal type the command cat ~/.ssh/id_rsa.pub
  8. Copy the displayed SSH keys and paste them into the content box. Click on “Add Key.”

Following are steps to setup repos locally

  1. Go to the project repository you want to work on.
  2. Copy SSH URL of the repository E.g. gogs@git.fafadiatech.com:archana/learn-exponent.git.
  3. In your terminal type git clone gogs@git.fafadiatech.com:archana/learn-exponent.git and press enter.
  4. After cloning project open it in visual studio code. Also ensure to chang your working directory to cloned repo
  5. Ensure you have correct version of node running nvm use 18.17.1, please setup nvm if not already
  6. Install the project requirements using the command npm install
  7. Run the command npm run develop

We’ve also created new repos for NextJS migrations

  1. Fafadia Tech’s Official Website
  2. Learn Exponent’s Official Website
  3. NewScout
  4. Pythonista24x7

Following are research tasks we will be doing for launching of various site

  1. [EC + OS] NextJS setup with re-using existing components
  2. [EC + OS + MS] NextJS + S3 + Jenkins CI/CD
  3. [EC + OS + SS] Figure out what all needs to be made