doc & fix: added Prerequisite and fix the installation blurb to include information on how to install it

This commit is contained in:
Leon Xu committed 2023-12-30 11:30:24 -08:00
1 parent cb3e9bbe18
commit cd4c6589a1
1 file changed
+24 -1
+24 -1
View File
@@ -9,8 +9,31 @@ On some READMEs, you may see small images that convey metadata, such as whether
## Visuals
Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.
## Prerequisite
Here are some prerequisite to get the project setup locally on your machine:
- [Git](https://git-scm.com/)
- [NodeJS](https://nodejs.org/en)
- [NPM](https://www.npmjs.com/)
- [Yarn](https://yarnpkg.com/)
### Cloning the Repository
```
git clone https://gitlab.com/leonxu260/pricewise.git
cd pricewise
```
## Installation
Within a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection.
Install the project dependencies using npm and/or yarn
```
npm install
```
OR
```
yarn
```
## Usage
Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.