Skip to content

Commit 16f4bcb

Browse files
authored
Merge branch 'master' into srinidhi_gsoc_final_blog
2 parents fc9927e + df8cada commit 16f4bcb

File tree

147 files changed

+3999
-1221
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

147 files changed

+3999
-1221
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ node_modules
1313
gui/build
1414
gui/node_modules
1515
gui/static/gen
16+
*.log

README.md

Lines changed: 25 additions & 2 deletions
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/aldenpage/contents.lr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@ username: aldenpage
22
---
33
name: Alden Page
44
---
5+
md5_hashed_email: 32853a2ab283e0093bf088d8af5d3cdc
6+
---
57
about:
68
[Alden](https://creativecommons.org/author/aldencreativecommons-org/) is Backend Software Engineer at Creative Commons. He is `@aldenpage` on the CC Slack.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
username: annatuma
2+
---
3+
name: Anna Tumadóttir
4+
---
5+
md5_hashed_email: c6b98be141f57ce877a7ae10595b0ae0
6+
---
7+
about:
8+
[Anna](https://creativecommons.org/author/annacreativecommons-org/) is Director of Product at Creative Commons. She's `@Anna` on the CC Slack.
Lines changed: 10 additions & 0 deletions
Loading

content/blog/authors/dhruvkb/contents.lr

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ name: Dhruv Bhanushali
55
md5_hashed_email: 0eab64adad056cff2492e7c407a9aa21
66
---
77
about:
8-
Dhruv Bhanushali is a Mumbai-based software developer and an Engineering-Physics graduate from IIT Roorkee. He started programming as a hobby in high-school and having found his calling, is now pursuing a career in the field. He is a huge fan of alternative and post-rock music and keeps his curated collection with him at all times. He also loves to binge watch TV shows and movies, especially indie art films.
98

10-
Dhruv developed [CC Vocabulary](https://opensource.creativecommons.org/cc-vocabulary/) as part of [Google Summer of Code 2019](/gsoc-2019/) and now is a maintainer for the project. He is consistently [`@dhruvkb`](https://dhruvkb.github.io/) everywhere.
9+
[Dhruv Bhanushali](https://dhruvkb.github.io/) is the Open Source Community Coordinator at Creative Commons. He goes by `@dhruvkb` on the CC Community Slack workspace. Dhruv developed [CC Vocabulary](https://opensource.creativecommons.org/cc-vocabulary/) as part of [Google Summer of Code 2019](/gsoc-2019/) and now is a maintainer for the project.

content/blog/authors/srinidhi/contents.lr

Lines changed: 1 addition & 1 deletion
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.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
name: collaboration
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
name: gsod-2020
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
name: gsod

0 commit comments

Comments
 (0)