Skip to content

Commit c22ebc8

Browse files
committed
reflected changes further mentioned in review
1 parent 407c55e commit c22ebc8

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

README.md

+11-10
Original file line numberDiff line numberDiff line change
@@ -64,18 +64,19 @@ To install these, execute the following commands:
6464
6565
1. `curl https://raw.githubusercontent.com/kennethreitz/pipenv/master/get-pipenv.py | python`
6666
2. `sudo apt update`
67-
3. `curl -sL https://deb.nodesource.com/setup_lts.x | sudo -E bash -`
68-
4. `sudo apt-get install -y nodejs`
67+
3. [Install Node.js](https://github.com/nodesource/distributions/blob/master/README.md#installation-instructions)
6968
5. `sudo apt install npm `
7069

7170
[pipenvdocs]:https://pipenv.readthedocs.io/en/latest/
7271
[nodejswebsite]:https://nodejs.org/en/
7372
[npmdocs]:https://docs.npmjs.com/
7473

74+
75+
7576
### Installing Project Requirements
7677

7778
1. Clone this repository.
78-
2. Open your command line interface and `cd` to the repository's root directory.
79+
2. Open your command line interface and `cd` to the repository root directory.
7980
3. Run `pipenv install` to create a Python virtual environment and install the requirements for this project.
8081

8182
### pipenv Troubleshooting
@@ -99,21 +100,21 @@ else fails, try removing the virtual environment and reinstalling:
99100

100101
### Troubleshooting Possible Errors
101102

102-
Should you get series of type errors that looks something like `npm ERR! typeerror Error: Missing required argument #1`, after running `pipenv run lektor server -f webpack`, this is most likely due to running an older version of node.
103+
* Should you get series of type errors that looks something like `npm ERR! typeerror Error: Missing required argument #1`, after running `pipenv run lektor server -f webpack`, this is most likely due to running an older version of Node.js
103104

104-
As stated earlier in the prerequisites, you should be running Node versions 12+.
105+
As stated earlier in the prerequisites, you should be running Node.js versions 12+.
105106

106-
* Follow [this](https://github.com/nodesource/distributions/blob/master/README.md#installation-instructions) tutorial to upgrade your node version (for GNU/Unix systems).
107+
Follow [this](https://github.com/nodesource/distributions/blob/master/README.md#installation-instructions) tutorial to upgrade your node version (for GNU/Unix systems).
107108

108-
Should you get an `OSError: [Errno 28] inotify watch limit reached` after running any command, this means that your system file watcher is running out of alloted handles, usually because the workspace is large and contains many files.
109+
* Should you get an `OSError: [Errno 28] inotify watch limit reached` after running any command, this means that your system file watcher is running out of alloted handles, usually because the workspace is large and contains many files.
109110

110111
The solution is to run:
111112

112-
* `sudo sysctl fs.inotify.max_user_watches=524288`
113+
`sudo sysctl fs.inotify.max_user_watches=524288`
113114

114-
This increases your inotify watch limit (for the session) to 524288, which is the maximum value and is also enough to allow the setup go through.
115+
This increases your `inotify` watch limit (for the session) to 524288, which is the maximum value and is also enough to allow the setup go through.
115116

116-
You can learn more about file watchers [here](https://unixia.wordpress.com/2018/04/28/inotify-watch-limit-reached-wait-what/) and [here](https://code.visualstudio.com/docs/setup/linux#_visual-studio-code-is-unable-to-watch-for-file-changes-in-this-large-workspace-error-enospc).
117+
You can learn more about file watchers [from this blog post](https://unixia.wordpress.com/2018/04/28/inotify-watch-limit-reached-wait-what/) or [from the VS Code documentation](https://code.visualstudio.com/docs/setup/linux#_visual-studio-code-is-unable-to-watch-for-file-changes-in-this-large-workspace-error-enospc).
117118

118119
## Deployment
119120

0 commit comments

Comments
 (0)