What is an Environment ?
An environment contains the resources required for developing an application, both at the software and hardware levels.
Hardware
A personal computer with at least 8GB of RAM, an Intel i5 equivalent processor, and 256GB of storage is essential.
Software
A Linux-based operating system with basic command line tools enabled is necessary. It is advisable for software developers to use Linux, as it is lightweight, open-source, and developer-friendly.
To dig deeper, here is what you need to set up on your personal computer:
System Level Setup:
- Install Node.js and a package manager (e.g., npm).
- Set up a code editor (e.g., Visual Studio Code) and version control (e.g., Git).
- Set up Docker.
- Set up Git.
- Setup Postgres.
Installing Node Js
Our application development is with React and Node, so both relies on node. In this step we will setup node in our machine
Steps to Set Up Node.js Using NVM (Node Version Manager)
We are using NVM to setup node because setting up only node from its official website allows you to setup specific versions of node, whereas when we use NVM it allows to switch between node versions locally and manage different versions of node in the system.
Install NVM:
- Open your terminal.
- For macOS or Linux, run the following command to download and install NVM:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
Load NVM:
FAQ in this section
- How to open a terminal ?
- What to do if i don't have a linux based machine ?
Top comments (0)