You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+37-10Lines changed: 37 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ We’ve put together a comprehensive list of the projects hosted on GitHub in wh
6
6
7
7
To add or modify projects to the list on [https://redhatofficial.github.io](https://redhatofficial.github.io), either submit a pull request or create an issue in the [repo](https://github.com/RedHatOfficial/RedHatOfficial.github.io). Upon review, the site maintainers will merge the PR or change the content as requested. No direct merges will be accepted.
8
8
9
-
All projects are stored in the `/app/data` directory in the `projects.json` file within the dev branch of this repo. Try to add your project alphabetically (just to make the file easier to search) and create a new object in the JSON that has:
9
+
All projects are stored in the `/data` directory in the `projects.json` file within the dev branch of this repo. Try to add your project alphabetically (just to make the file easier to search) and create a new object in the JSON that has:
10
10
11
11
```js
12
12
{
@@ -16,7 +16,8 @@ All projects are stored in the `/app/data` directory in the `projects.json` file
16
16
"projectWebsite":"http://foo.github.io",
17
17
"category":"Development",
18
18
"twitterHandle":"",
19
-
"twitterURL":""
19
+
"twitterURL":"",
20
+
"lowercaseName":"foo project"
20
21
}
21
22
```
22
23
@@ -52,30 +53,56 @@ This list is just for Red Hat contributions to projects hosted on GitHub. See ht
52
53
53
54
Open an issue in _this_ repo, and the owners of the RedHatOfficial organization will get in touch with you.
54
55
55
-
## Quick start
56
+
## Changing the Featured list
57
+
58
+
To modify the featured projects, submit a pull request modifying the `/data/featured.json` file within the `dev` branch. You need to replace one of the featured projects rather than adding to the file.
59
+
60
+
In addition, you need to replace the logo in the `static/img` directory. The naming convention is important; you must name the image file as `logo-<logo>.png`, with `logo` here referencing the value in the `featured.json` file entry. So, for example, given the following entry:
61
+
62
+
```json
63
+
{
64
+
"name": "CentOS Project",
65
+
"logo": "centos",
66
+
"github": "https://github.com/CentOS",
67
+
"twitter": "https://twitter.com/CentOSProject",
68
+
"website": "https://www.centos.org/",
69
+
"description": "A solid, predictable base to build upon, with extensive resources to build, test, release, and maintain code."
70
+
}
71
+
```
72
+
The image would be `logo-centos.png`.
73
+
74
+
Upon review, the site maintainers will merge the PR or change the content as requested. No direct merges will be accepted.
To build and run this project in your local dev environment, follow the instructions below. Be sure you have [Node.js](https://nodejs.org/) installed before you start.
87
+
To build and run this project in your local dev environment, first install [Zola](https://www.getzola.org/documentation/getting-started/installation/). Then, run
65
88
66
-
1. Install dependencies: `npm install`
67
-
2. Run the local development server: `npm start`
89
+
```bash
90
+
cd site
91
+
zola serve
92
+
```
68
93
69
-
The web page will start running on [localhost:8080](http://localhost:8080/).
94
+
Go to the URL for the webserver (likely `localhost:1111`) to explore the site.
70
95
71
96
## Built with
72
97
73
-
This site was created using [Angular](https://angularjs.org/), [webpack](https://webpack.js.org/), [NPM](https://www.npmjs.com/), [Babel](https://babeljs.io/), [Sass](https://sass-lang.com/), and [Netlify](https://www.netlify.com/).
98
+
This project is build and run using [Zola](https://www.getzola.org/), a Rust-based static site generator.
99
+
100
+
Under the hood, Zola uses [Tera](https://keats.github.io/tera/) for templating.
74
101
75
102
## Licensing
76
103
77
104
-[CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) for the displayed page and primary license for this repository
78
-
-[MIT](https://opensource.org/licenses/MIT) for the JavaScript
105
+
-[MIT](https://opensource.org/licenses/MIT) for the small bits of Javascript within the HTML files
79
106
-[CC0](https://creativecommons.org/share-your-work/public-domain/cc0/) for the HTML and CSS
80
107
81
108
Red Hat trademarks are not subject to the above license grants.
0 commit comments