Skip to content

Commit 556831e

Browse files
intialize template
Signed-off-by: CodeAhmedJamil <ahmedjamilgithub@gmail.com>
1 parent 4451a09 commit 556831e

31 files changed

Lines changed: 3456 additions & 141 deletions

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,8 @@
1616

1717
# IDEs
1818
.vscode/*
19+
20+
# hugo
21+
public/
22+
resources/
23+
node_modules/

.hugo_build.lock

Whitespace-only changes.

CONTRIBUTING.md

Lines changed: 20 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -1,104 +1,28 @@
1-
# <a name="contributing">Contributing Overview</a>
2-
Please do! Thanks for your help improving the project! :balloon:
1+
# How to Contribute
32

4-
All contributors are welcome. Please see the [newcomers welcome guide](https://layer5.io/community/newcomers) for how, where and why to contribute. This project is community-built and welcomes collaboration. Contributors are expected to adhere to our [Code of Conduct](.CODE_OF_CONDUCT.md).
3+
We'd love to accept your patches and contributions to this project. There are
4+
just a few small guidelines you need to follow.
55

6-
Not sure where to start? First, see the [newcomers welcome guide](https://docs.google.com/document/d/17OPtDE_rdnPQxmk2Kauhm3GwXF1R5dZ3Cj8qZLKdo5E/edit). Grab an open issue with the [help-wanted label](../../labels/help%20wanted) and jump in. Join the [Slack account](http://slack.layer5.io) and engage in conversation. Create a [new issue](/../../issues/new/choose) if needed. All [pull requests](/../../pulls) should reference an open [issue](/../../issues). Include keywords in your pull request descriptions, as well as commit messages, to [automatically close issues in GitHub](https://help.github.com/en/github/managing-your-work-on-github/closing-issues-using-keywords).
6+
## Contributor License Agreement
77

8-
**Sections**
9-
- <a name="contributing">General Contribution Flow</a>
10-
- <a href="#commit-signing">Developer Certificate of Origin</a>
8+
Contributions to this project must be accompanied by a Contributor License
9+
Agreement. You (or your employer) retain the copyright to your contribution;
10+
this simply gives us permission to use and redistribute your contributions as
11+
part of the project. Head over to <https://cla.developers.google.com/> to see
12+
your current agreements on file or to sign a new one.
1113

12-
Relevant coding style guidelines are the Go Code Review Comments and the Formatting and style section of Peter Bourgon's Go: Best Practices for Production Environments.
14+
You generally only need to submit a CLA once, so if you've already submitted one
15+
(even if it was for a different project), you probably don't need to do it
16+
again.
1317

14-
# <a name="contributing">General Contribution Flow</a>
18+
## Code reviews
1519

16-
In order to contribute to Meshery, please follow the fork-and-pull request workflow described [here](./CONTRIBUTING-gitflow.md).
20+
All submissions, including submissions by project members, require review. We
21+
use GitHub pull requests for this purpose. Consult
22+
[GitHub Help](https://help.github.com/articles/about-pull-requests/) for more
23+
information on using pull requests.
1724

18-
## <a name="commit-signing">Signing-off on Commits (Developer Certificate of Origin)</a>
25+
## Community Guidelines
1926

20-
To contribute to this project, you must agree to the Developer Certificate of
21-
Origin (DCO) for each commit you make. The DCO is a simple statement that you,
22-
as a contributor, have the legal right to make the contribution.
23-
24-
See the [DCO](https://developercertificate.org) file for the full text of what you must agree to
25-
and how it works [here](https://github.com/probot/dco#how-it-works).
26-
To signify that you agree to the DCO for contributions, you simply add a line to each of your
27-
git commit messages:
28-
29-
```
30-
Signed-off-by: Jane Smith <jane.smith@example.com>
31-
```
32-
33-
In most cases, you can add this signoff to your commit automatically with the
34-
`-s` or `--signoff` flag to `git commit`. You must use your real name and a reachable email
35-
address (sorry, no pseudonyms or anonymous contributions). An example of signing off on a commit:
36-
```
37-
$ commit -s -m “my commit message w/signoff”
38-
```
39-
40-
To ensure all your commits are signed, you may choose to add this alias to your global ```.gitconfig```:
41-
42-
*~/.gitconfig*
43-
```
44-
[alias]
45-
amend = commit -s --amend
46-
cm = commit -s -m
47-
commit = commit -s
48-
```
49-
Or you may configure your IDE, for example, Visual Studio Code to automatically sign-off commits for you:
50-
51-
<a href="https://user-images.githubusercontent.com/7570704/64490167-98906400-d25a-11e9-8b8a-5f465b854d49.png" ><img src="https://user-images.githubusercontent.com/7570704/64490167-98906400-d25a-11e9-8b8a-5f465b854d49.png" width="50%"><a>
52-
53-
## <a name="contributing-docs">Documentation Contribution Flow</a>
54-
Please contribute! Layer5 documentation uses Jekyll and GitHub Pages to host docs sites. Learn more about [Layer5's documentation framework](https://docs.google.com/document/d/17guuaxb0xsfutBCzyj2CT6OZiFnMu9w4PzoILXhRXSo/edit?usp=sharing). The process of contributing follows this flow:
55-
56-
1. Create a fork, if you have not already, by following the steps described [here](./CONTRIBUTING-gitflow.md)
57-
1. In the local copy of your fork, navigate to the docs folder.
58-
`cd docs`
59-
1. Create and checkout a new branch to make changes within
60-
`git checkout -b <my-changes>`
61-
1. Edit/add documentation.
62-
`vi <specific page>.md`
63-
1. Run site locally to preview changes.
64-
`make site`
65-
1. Commit, [sign-off](#commit-signing), and push changes to your remote branch.
66-
`git push origin <my-changes>`
67-
1. Open a pull request (in your web browser) against the repo.
68-
69-
70-
#### Tests
71-
Users can now test their code on their local machine against the CI checks implemented using `make run-tests`.
72-
73-
To test code changes on your local machine, run the following command:
74-
```
75-
make run-tests
76-
```
77-
78-
#### Building Docker image
79-
To build a Docker image of the project, please ensure you have `Docker` installed to be able to build the image. Now, run the following command to build the Docker image:
80-
```sh
81-
make docker
82-
```
83-
84-
### UI Lint Rules
85-
86-
Layer5 uses ES-Lint to maintain code quality & consistency in our UI Code.
87-
88-
# <a name="maintaining"> Reviews</a>
89-
All contributors are invited to review pull requests. See this short video on [how to review a pull request](https://www.youtube.com/watch?v=isLfo7jfE6g&feature=youtu.be).
90-
91-
# New to Git?
92-
Resources: https://lab.github.com and https://try.github.com/
93-
94-
### License
95-
96-
This repository and site are available as open source under the terms of the [Apache 2.0 License](https://opensource.org/licenses/Apache-2.0).
97-
98-
### About Layer5
99-
100-
**Community First**
101-
<p>The <a href="https://layer5.io/community">Layer5 community</a> represents the largest collection of service mesh projects and their maintainers in the world.</p>
102-
103-
**Open Source First**
104-
<p>At Layer5, we champion developer-defined infrastructure, giving engineers the power to reshape application delivery. We empower operators in reimagining how they manage modern infrastructure: collaboratively.</p>
27+
This project follows
28+
[Google's Open Source Community Guidelines](https://opensource.google.com/conduct/).

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright 2020 Layer5, Inc.
189+
Copyright [yyyy] [name of copyright owner]
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

README.md

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +0,0 @@
1-
# layer5-repo-template
2-
This repository is used as the boilerplate for consistency across all Layer5 repos.
3-
4-
<div>&nbsp;</div>
5-
6-
## Join the Layer5 community!
7-
8-
<a name="contributing"></a><a name="community"></a>
9-
Our projects are community-built and welcome collaboration. 👍 Be sure to see the <a href="https://docs.google.com/document/d/17OPtDE_rdnPQxmk2Kauhm3GwXF1R5dZ3Cj8qZLKdo5E/edit">Layer5 Community Welcome Guide</a> for a tour of resources available to you and jump into our <a href="http://slack.layer5.io">Slack</a>!
10-
11-
<p style="clear:both;">
12-
<a href ="https://layer5.io/community/meshmates"><img alt="MeshMates" src=".github/readme/images/layer5-community-sign.png" style="margin-right:10px; margin-bottom:15px;" width="28%" align="left"/></a>
13-
<h3>Find your MeshMate</h3>
14-
15-
<p>MeshMates are experienced Layer5 community members, who will help you learn your way around, discover live projects and expand your community network.
16-
Become a <b>Meshtee</b> today!</p>
17-
18-
Find out more on the <a href="https://layer5.io/community">Layer5 community</a>. <br />
19-
<br /><br /><br /><br />
20-
</p>
21-
22-
<div>&nbsp;</div>
23-
24-
<a href="https://slack.meshery.io">
25-
26-
<picture align="right">
27-
<source media="(prefers-color-scheme: dark)" srcset=".github/readme/images//slack-dark-128.png" width="110px" align="right" style="margin-left:10px;margin-top:10px;">
28-
<source media="(prefers-color-scheme: light)" srcset=".github/readme/images//slack-128.png" width="110px" align="right" style="margin-left:10px;padding-top:5px;">
29-
<img alt="Shows an illustrated light mode meshery logo in light color mode and a dark mode meshery logo dark color mode." src=".github/readme/images//slack-128.png" width="110px" align="right" style="margin-left:10px;padding-top:13px;">
30-
</picture>
31-
</a>
32-
33-
34-
<a href="https://meshery.io/community"><img alt="Layer5 Community" src=".github/readme/images//community.svg" style="margin-right:8px;padding-top:5px;" width="140px" align="left" /></a>
35-
36-
<p>
37-
✔️ <em><strong>Join</strong></em> any or all of the weekly meetings on <a href="https://calendar.google.com/calendar/b/1?cid=bGF5ZXI1LmlvX2VoMmFhOWRwZjFnNDBlbHZvYzc2MmpucGhzQGdyb3VwLmNhbGVuZGFyLmdvb2dsZS5jb20">community calendar</a>.<br />
38-
✔️ <em><strong>Watch</strong></em> community <a href="https://www.youtube.com/playlist?list=PL3A-A6hPO2IMPPqVjuzgqNU5xwnFFn3n0">meeting recordings</a>.<br />
39-
✔️ <em><strong>Access</strong></em> the <a href="https://drive.google.com/drive/u/4/folders/0ABH8aabN4WAKUk9PVA">Community Drive</a> by completing a community <a href="https://layer5.io/newcomer">Member Form</a>.<br />
40-
✔️ <em><strong>Discuss</strong></em> in the <a href="https://discuss.layer5.io">Community Forum</a>.<br />
41-
✔️<em><strong>Explore more</strong></em> in the <a href="https://layer5.io/community/handbook">Community Handbook</a>.<br />
42-
</p>
43-
<p align="center">
44-
<i>Not sure where to start?</i> Grab an open issue with the <a href="https://github.com/issues?q=is%3Aopen+is%3Aissue+archived%3Afalse+(org%3Alayer5io+OR+org%3Ameshery+OR+org%3Alayer5labs+OR+org%3Aservice-mesh-performance+OR+org%3Aservice-mesh-patterns+OR+org%3Ameshery-extensions)+label%3A%22help+wanted%22">help-wanted label</a>.</p>

config.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# THIS IS A TEST CONFIG ONLY!
2+
# FOR THE CONFIGURATION OF YOUR SITE USE hugo.yaml.
3+
#
4+
# As of Docsy 0.7.0, Hugo 0.110.0 or later must be used.
5+
#
6+
# The sole purpose of this config file is to detect Hugo-module builds that use
7+
# an older version of Hugo.
8+
#
9+
# DO NOT add any config parameters to this file. You can safely delete this file
10+
# if your project is using the required Hugo version.
11+
12+
module:
13+
hugoVersion:
14+
extended: true
15+
min: 0.110.0

content/en/_index.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: Academy
3+
---
4+
5+
<!-- this page is only used in local dev setup , this wont be used or rendered in production -->
6+
7+
8+
{{% blocks/lead color="primary" %}}
9+
10+
Welcome to dev environment for your Academy
11+
12+
13+
14+
15+
[LearningPaths](/academy/learning-paths/)
16+
17+
18+
19+
{{% /blocks/lead %}}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: Learning Paths
3+
description:
4+
linkTitle: Learning Paths
5+
type: docs
6+
cascade:
7+
type: docs
8+
---
9+
10+
<!-- This page is only used in local dev setup , this wont be used or rendered in production -->
11+
12+
{{% pageinfo %}}
13+
14+
{{% /pageinfo %}}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: "Example learning path"
3+
description: "New to container and container orchestration? This level 100 INTRO Kubernetes - Course covers the foundational topics for a non-technical audience and conveys the benefits of containers and container orchestration for modern IT scenarios. It will help you learn the basics of terminology associated, understand the essential components' functions, and understand why these new technologies are so important."
4+
themeColor: "#3C494F"
5+
cardImage: "/images/learning-path/kubernetes-icon.svg"
6+
courses: 1
7+
weight: 1
8+
---
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
docType: "Course"
3+
title: "1. Why Containers?"
4+
description: "This section provides an introduction to containers, their architecture, and how they are used in modern software development."
5+
lectures: 4
6+
courseTitle: "Why Containers?"
7+
themeColor: "#00B39F"
8+
order: 1
9+
cardImage: ""
10+
toc:
11+
[
12+
"experience-we-want-to-change",
13+
"new-ideas-and-concepts",
14+
"container-benefits",
15+
"history-of-application-deployments",
16+
]
17+
---

0 commit comments

Comments
 (0)