diff --git a/README.md b/README.md index c445c5bcfebf2e7cff0cd9ab2fc2ec884b80e1aa..6538234ee389a7f49c509a061f4cb938199053c4 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,14 @@ -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/```.