Skip to content

Commit a84e49e

Browse files
authored
Merge pull request #153 from sebassarmiento/updateDocumentation
2 parents d30b27f + d16255b commit a84e49e

File tree

1 file changed

+68
-12
lines changed

1 file changed

+68
-12
lines changed

README.md

Lines changed: 68 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,77 @@ The codebase is heavily inspired by the [TensorFlow implementation](https://gith
4747

4848
## Table of Contents
4949

50-
1. [Just Want to Play With The Model](#how-i-run-this-project-locally-)
51-
2. [Installation](#installation)
52-
3. [API](#api)
53-
4. [Examples](#examples)
54-
5. [Usage](#usgae)
55-
6. [About EfficientNet Models](#about-efficientnet-models)
56-
7. [Models](#models)
57-
8. [Multilingual status](#multilingual-status)
50+
1. [PreRequisites](#pre-requisites)
51+
2. [Just Want to Play With The Model](#how-i-run-this-project-locally-)
52+
3. [Installation](#installation)
53+
4. [API](#api)
54+
5. [Examples](#examples)
55+
6. [Usage](#usgae)
56+
7. [About EfficientNet Models](#about-efficientnet-models)
57+
8. [Models](#models)
58+
9. [Multilingual status](#multilingual-status)
59+
60+
61+
## Pre-Requisites
62+
63+
Make sure you have all the following installed and working:
64+
65+
- Node.js
66+
- NPM
67+
- Docker
68+
69+
This section will guide you through installing Node.js (which includes NPM) and Docker, which are necessary to run this project.
70+
71+
### Node and NPM
72+
73+
#### macOS
74+
75+
Easiest way is using Homebrew:
76+
77+
- Open terminal and run `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`
78+
- Then run `brew install node`
79+
80+
#### Linux
81+
82+
Easiest way is using Linuxbrew:
83+
84+
- Open terminal and run `sudo apt update && sudo apt install nodejs && sudo apt install npm`
85+
86+
87+
#### Windows
88+
89+
Download the Node.js from the official [Node website](https://www.nodejs.org)
90+
91+
92+
Verify your installation by running `node -v` for Node.js, and `npm -v` for NPM.
93+
94+
95+
### Docker
96+
97+
#### MacOS and Windows
98+
99+
Docker Desktop is the recommended installation method. Visit the Docker Hub to download Docker Desktop for your OS.
100+
101+
Follow the installation instructions provided on the [Docker website](https://docs.docker.com/get-docker/).
102+
103+
#### Linux
104+
105+
Install Docker: The Docker installation process can vary between Linux distributions. Below is the general approach for Ubuntu. For other distributions, please refer to the official [Docker documentation](https://docs.docker.com/).
106+
107+
- Open terminal and run `sudo apt update && sudo apt install docker.io`
108+
- Enable Docker to start on boot and run it as a non-root user (optional but recommended).
109+
- Log out and back in
110+
- Verify installation by running `docker run hello`
111+
58112

59113
## How I Run This Project Locally ?
60114

61-
- clone this repository
62-
- Just Want to Play ?
63-
- At the root project go to playground directory, Run: `docker-compose up`
64-
- Navigate to http://localhost:8080
115+
- Make sure you have all pre-requisites
116+
- Clone this repository by running `git clone https://github.com/ntedgi/node-efficientnet.git`
117+
- After cloning, cd into node-efficientnet by running the command `cd node-efficientnet`
118+
- Enter the playground directory by running `cd playground`
119+
- At the current directory level, run `docker-compose up`
120+
- Navigate to [http://localhost:8080](http://localhost:8080)
65121

66122
## Usage:
67123

0 commit comments

Comments
 (0)