Skip to content

Commit 550c803

Browse files
authored
Merge branch 'master' into add_vocabulary
2 parents 81621db + e64e255 commit 550c803

File tree

7 files changed

+512
-14
lines changed

7 files changed

+512
-14
lines changed

README.md

+25-2
Original file line numberDiff line numberDiff line change
@@ -47,23 +47,32 @@ via lektor (see [Deployment](#deployment), below).
4747

4848
### Pre-Requisites
4949

50-
Make sure you have [pipenv][pipenvdocs], [Node.js][nodejswebsite] and [npm][npmdocs] installed. To install these, execute the following commands:
50+
Make sure you have:
51+
52+
* [pipenv][pipenvdocs]
53+
54+
* [Node.js][nodejswebsite] **v12+** and [npm][npmdocs] installed.
55+
56+
To install these, execute the following commands:
5157

5258
> For macOS:
59+
5360
1. `brew install pipenv`
5461
2. `brew install node`
5562

5663
> For GNU/Linux:
64+
5765
1. `curl https://raw.githubusercontent.com/kennethreitz/pipenv/master/get-pipenv.py | python`
5866
2. `sudo apt update`
59-
3. `sudo apt install nodejs`
67+
3. [Install Node.js](https://github.com/nodesource/distributions/blob/master/README.md#table-of-contents)
6068
4. `sudo apt install npm `
6169

6270
[pipenvdocs]:https://pipenv.readthedocs.io/en/latest/
6371
[nodejswebsite]:https://nodejs.org/en/
6472
[npmdocs]:https://docs.npmjs.com/
6573

6674

75+
6776
### Installing Project Requirements
6877

6978
1. Clone this repository.
@@ -91,6 +100,20 @@ else fails, try removing the virtual environment and reinstalling:
91100

92101
[local5000]:http://localhost:5000/
93102

103+
### Troubleshooting Possible Errors
104+
105+
* 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.
106+
107+
As stated earlier in the prerequisites, you should be running Node.js version 12+.
108+
Follow [this](https://github.com/nodesource/distributions/blob/master/README.md#table-of-contents) tutorial to upgrade your node version (for GNU/Unix systems).
109+
110+
* 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.
111+
112+
The solution is to run:
113+
`sudo sysctl fs.inotify.max_user_watches=524288`
114+
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.
116+
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).
94117

95118
## Deployment
96119

content/blog/authors/srinidhi/contents.lr

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ username: kss682
22
---
33
name: K S Srinidhi Krishna
44
---
5-
md5_hashed_email: 7E71C293A442A2CF434BFC244BD5F184
5+
md5_hashed_email: 7e71c293a442a2cf434bfc244bd5f184
66
---
77
about:
88
Srinidhi Krishna is a computer science undergraduate student from India and will be interning with Creative Commons during the summer.

content/blog/entries/crawling-500-million/contents.lr

+485
Large diffs are not rendered by default.
Loading
Loading

content/blog/entries/say_hello_to_ct/contents.lr

+1-11
Original file line numberDiff line numberDiff line change
@@ -139,16 +139,6 @@ to me more involved? You can even apply to be a Community Maintainer.
139139

140140
### What's next?
141141

142-
<p style="text-align:center;">
143-
<img
144-
alt="Gromit laying the tracks ahead of the toy train he is riding on"
145-
title="We'll just figure things out as we go!"
146-
src="gromit.gif"/><br/>
147-
<small>
148-
We'll just figure things out as we go!
149-
</small>
150-
</p>
151-
152142
The Community Team is a fairly novel idea for us and we're still tweaking things
153143
along the way. For example, we recently merged of two Project roles, namely
154144
Project Member and Project Collaborator, when we realised they weren't so
@@ -161,4 +151,4 @@ this ride, it's really easy to [get started][communityteam].
161151
[communityteam]:/community/community-team/
162152

163153
<small>*We do not guarantee that you will be accepted if you apply for an
164-
internship!</small>
154+
internship!</small>
-1.99 MB
Binary file not shown.

0 commit comments

Comments
 (0)