Skip to content

Commit 572a37c

Browse files
committed
initial commit
0 parents  commit 572a37c

Some content is hidden

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

105 files changed

+29683
-0
lines changed

.circleci/config.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
version: 2.1
2+
orbs:
3+
node: circleci/[email protected]
4+
jobs:
5+
build-and-test:
6+
executor:
7+
name: node/default
8+
steps:
9+
- checkout
10+
- node/with-cache:
11+
steps:
12+
- run: npm install
13+
- run: npm build
14+
workflows:
15+
build-and-test:
16+
jobs:
17+
- build-and-test

.gitignore

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
8+
# Runtime data
9+
pids
10+
*.pid
11+
*.seed
12+
*.pid.lock
13+
14+
# Directory for instrumented libs generated by jscoverage/JSCover
15+
lib-cov
16+
17+
# Coverage directory used by tools like istanbul
18+
coverage
19+
20+
# nyc test coverage
21+
.nyc_output
22+
23+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
24+
.grunt
25+
26+
# Bower dependency directory (https://bower.io/)
27+
bower_components
28+
29+
# node-waf configuration
30+
.lock-wscript
31+
32+
# Compiled binary addons (http://nodejs.org/api/addons.html)
33+
build/Release
34+
35+
# Dependency directories
36+
node_modules/
37+
jspm_packages/
38+
39+
# Typescript v1 declaration files
40+
typings/
41+
42+
# Optional npm cache directory
43+
.npm
44+
45+
# Optional eslint cache
46+
.eslintcache
47+
48+
# Optional REPL history
49+
.node_repl_history
50+
51+
# Output of 'npm pack'
52+
*.tgz
53+
54+
# dotenv environment variable files
55+
.env*
56+
57+
# gatsby files
58+
.cache/
59+
public
60+
61+
# Mac files
62+
.DS_Store
63+
64+
# Yarn
65+
yarn-error.log
66+
.pnp/
67+
.pnp.js
68+
# Yarn Integrity file
69+
.yarn-integrity

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v13.10.1

.prettierignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.cache
2+
package.json
3+
package-lock.json
4+
public

.prettierrc

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"arrowParens": "avoid",
3+
"semi": false
4+
}

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2018 gatsbyjs
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
## Installation & Set Up
2+
3+
1. In the top-right corner of the page, click Fork. Create a local clone of your fork:
4+
5+
2. Install and use the correct version of Node using [NVM](https://github.com/nvm-sh/nvm)
6+
7+
```sh
8+
cd codingjuniororg
9+
nvm install
10+
```
11+
12+
3. Install the Gatsby CLI
13+
14+
```sh
15+
npm install -g gatsby-cli
16+
```
17+
18+
4. Install dependencies
19+
20+
```sh
21+
npm install
22+
```
23+
24+
5. Start the development server
25+
26+
```sh
27+
npm run develop
28+
```
29+
30+
## Building and Running for Production
31+
32+
1. Generate a full static production build
33+
34+
```sh
35+
npm run build
36+
```
37+
38+
1. Preview the site as it will appear once deployed
39+
40+
```sh
41+
npm run serve
42+
```
43+
44+
## License
45+
46+
[MIT](https://choosealicense.com/licenses/mit/)

contributing.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Contributing
2+
3+
Thank you for considering and taking the time to contribute! This is an experimental project to teach students how can they start working on open source projects.
4+
5+
The following are guidelines for contributing to this project.
6+
7+
## How to Report Bugs
8+
9+
Please open [a new issue in the appropriate GitHub repository][new-issue] with steps to reproduce the problem you're experiencing.
10+
11+
Be sure to include as much information including screenshots, text output, and both your expected and actual results.
12+
13+
## How to Request Enhancements
14+
15+
First, please refer to the applicable [GitHub repository][github-repo] and search [the repository's GitHub issues][issues-list] to make sure your idea has not been (or is not still) considered.
16+
17+
Then, please [create a new issue in the GitHub repository][new-issue] describing your enhancement.
18+
19+
Be sure to include as much detail as possible including step-by-step descriptions, specific examples, screenshots or mockups, and reasoning for why the enhancement might be worthwhile.
20+
21+
[new-issue]: https://github.com/codeforcauseorg/pledge/issues/new
22+
[github-repo]: https://github.com/codeforcauseorg/pledge/
23+
[issues-list]: https://github.com/codeforcauseorg/pledge/issues

gatsby-config.js

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/**
2+
* Configure your Gatsby site with this file.
3+
*
4+
* See: https://www.gatsbyjs.org/docs/gatsby-config/
5+
*/
6+
7+
module.exports = {
8+
/* Your site config here */
9+
plugins: [
10+
`gatsby-transformer-sharp`,
11+
`gatsby-plugin-sharp`,
12+
`gatsby-plugin-react-helmet`,
13+
`gatsby-transformer-yaml`,
14+
{
15+
resolve: `gatsby-source-filesystem`,
16+
options: {
17+
path: `./src/data/`,
18+
},
19+
},
20+
{
21+
resolve: `gatsby-source-filesystem`,
22+
options: {
23+
path: `./static/`,
24+
},
25+
},
26+
],
27+
}

0 commit comments

Comments
 (0)