Skip to content
Snippets Groups Projects
Commit b3dbeea7 authored by Simon Törnqvist's avatar Simon Törnqvist
Browse files

update readme

parent f3a002dd
No related branches found
No related tags found
No related merge requests found
This repository was created with the following commands:
This proof of concept application was created using the node package ```create-react-app```:
```bash
# Assuming you have node and npm installed
npm install -g create-react-app
npx create-react-app app
```
```npm install -g create-react-app``` installs the node package ```create-react-app``` globally on your user. ```create-react-app``` is a tool for setting up React apps in an easy way.
If you are not allowed to install packages globally, you can install the package locally by removing the ```-g``` flag: ```npm install create-react-app```. However, this will install the package in your current directory. After running ```npx create-react-app app``` there is no further use for the package. If you installed the package locally, you probably want to remove it after it has set up your app. You can do this by removing the files ```package.json```, ```package-lock.json``` and the directory ```node_modules``` from the directory you ran ```npm install create-react-app```.
If you are not allowed to install packages globally, you can install the package locally by removing the ```-g``` flag: ```npm install create-react-app```. However, this will install the package in your current directory. After running ```npx create-react-app app``` there is no further use for the package. If you installed the package locally, you probably want to remove it after it has set up your app. You can do this by removing the files ```package.json```, ```package-lock.json``` and the directory ```node_modules``` from the directory you ran ```npm install create-react-app``` in. OBS: do not remove these files from within the ```app/``` directory. These files are strictly necessary.
After setting up the app your directory should contain the directory ```app/```.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment