- Clone the project from github. Change "myproject" to your project name.
git clone https://github.com/Andrii-25/snake-game-front.git ./myproject
- Download repository
- Uncompress to your desired directory
cd myproject
npm install
-
You will find a file named
.env.example
on root directory of project. -
Create new file by copying and pasting the file and then renaming them to just
.env
cp .env.example .env
-
The files
.env
is already ignored, so you never commit your credentials.
cd myproject
npm start
Note: REACT_APP_API_URL
will be your API server URL.