Skip to content
Snippets Groups Projects
Commit 07cea3e2 authored by dominip89's avatar dominip89
Browse files

Add Install guide

parent bcb5f142
No related branches found
No related tags found
No related merge requests found
# Unisport-O-Mat User Frontend
# First steps to the UniSport-O-Mat Admin Frontend
## Installing `npm`
If not already installed, use your preferred way to install `npm`. It is recommended to install `npm` via `nvm`. A guide can be found [here](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) in the official `npm` documentation.
## Installing dependencies
After cloning the repository, switch into the repository folder via terminal and type in
```sh
npm install
```
## Start the development server
If you want to start the development server on the standard route, `localhost:3000`, use the following command
```sh
npm start
```
If you however wish to test the react app on another port, use
```sh
PORT=<port> npm start
```
## Testing your app
If you have configured test files to run, you can run them via terminal. More infos are located in the [official documentation](https://docs.npmjs.com/cli/v7/commands/npm-test).
```sh
npm test
```
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment