Merge pull request #6 from nkoder/update_readme_commands

Update commands mentioned in README.md in order to reuse already defined npm scripts
This commit is contained in:
Nicola 2021-04-25 18:39:02 +02:00 committed by GitHub
commit fc9a369b02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,9 +44,9 @@ Requirements: you must have node.js and git installed.
1. Click **Fork** above. It will automatically create a copy of this repository and add it to your account. 1. Click **Fork** above. It will automatically create a copy of this repository and add it to your account.
2. Clone the repository to your computer. 2. Clone the repository to your computer.
3. Open the folder in command prompt and run **npm install** 3. Open the folder in command prompt and run **`npm install`**
4. Make any changes you would like to suggest. 4. Make any changes you would like to suggest.
5. In command prompt run **node build.js** which will compile it to the */build* folder, where you can make sure it works 5. In command prompt run **`npm run build`** which will compile it to the `/build` folder, where you can make sure it works the easiest way to do so is to run **`npm run serve`**. You can also do both at once by running `npm test`.
6. Add, Commit and Push your changes to your fork. 6. Add, Commit and Push your changes to your fork.
7. On the github page for your fork, click **New Pull Request** above the file list. 7. On the github page for your fork, click **New Pull Request** above the file list.
8. Change the **head repository** dropdown to your fork. 8. Change the **head repository** dropdown to your fork.