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
We are delighted that you are interested in making Spin Hub better! Thank you! This
26
26
document will guide you through making your first contribution to the project.
27
27
28
-
First, any contribution and interaction on any Fermyon project MUST follow our
29
-
[code of conduct](https://www.fermyon.com/code-of-conduct). Thank you for being
28
+
First, any contribution and interaction on any spinframework project MUST follow our
29
+
[code of conduct](https://github.com/spinframework/governance). Thank you for being
30
30
part of an inclusive and open community!
31
31
32
32
## Contribution Procedure
33
33
34
34
### Fork the Repository
35
35
36
-
The first step is to fork the [developer repository](https://github.com/fermyon/developer), from Fermyon's GitHub, to your own GitHub account.
36
+
The first step is to fork the [spin-docs repository](https://github.com/spinframework/spin-docs), from spinframework's GitHub, to your own GitHub account.
37
37
38
-

39
-
40
-
Ensure that you are forking the developer repository **to your own** GitHub account; where you have full editing privileges.
38
+
Ensure that you are forking the spin-docs repository **to your own** GitHub account; where you have full editing privileges.
41
39
42
40
### Clone the Fork
43
41
44
42
Copy the URL from the UI in readiness for running the `git clone` command.
45
43
46
-

47
-
48
44
Go ahead and clone the new fork that you just created (the one which resides in your own GitHub account):
Be sure to make a description of the hub item in the body (below the **`---`** line). The content that you write below the **`---`** line will be the content shown when the card is expanded in a modal view. For example:
109
105
110
106
```md
111
-
This is the default HTTP trigger template for Rust. It installs by default with the [Spin install script](../../spin/install#installing-spin).
107
+
This is the default HTTP trigger template for Rust. It installs by default with the [Spin install script](../../install#installing-spin).
112
108
113
-
This guide walks you through how to use it: [HTTP Components](../../spin/rust-components#http-components)
109
+
This guide walks you through how to use it: [HTTP Components](../../rust-components#http-components)
114
110
```
115
111
116
112
### Valid Metadata
@@ -140,7 +136,7 @@ The following is a list of the types of content that a user can submit to the Sp
140
136
- Spin Application examples
141
137
- Code snippets
142
138
-**(Spin) Templates**
143
-
- Complete components such as the [Spin static-fileserver](https://github.com/fermyon/spin-fileserver)
139
+
- Complete components such as the [Spin static-fileserver](https://github.com/spinframework/spin-fileserver)
144
140
-**(Spin) Plugins**
145
141
- Triggers and tools
146
142
- See Lee-Orr’s Message trigger: [https://github.com/lee-orr/spin-message-trigger](https://github.com/lee-orr/spin-message-trigger)
@@ -165,9 +161,9 @@ $ npm run spin
165
161
166
162
### Add Changes
167
163
168
-
Once your changes have been checked, go ahead and add your changes by moving to a top-level directory, under which your changes exist i.e. `cd ~/developer`.
164
+
Once your changes have been checked, go ahead and add your changes by moving to a top-level directory, under which your changes exist i.e. `cd ~/spin-docs`.
169
165
170
-
Add your changes by running the following command, from the root of the developer repository:
166
+
Add your changes by running the following command, from the root of the spin-docs repository:
171
167
172
168
<!-- @nocpy -->
173
169
@@ -219,10 +215,10 @@ The above command will return output similar to the following:
A generiuc messaging trigger for [Fermyon Spin](https://github.com/spinframework/spin). Note this is an experimental/work-in-progress repo, and is not production ready at this point. Also - if you have suggestions for improvements, feel free to make them in the Issues tab.
22
+
A generic messaging trigger for [Spin](https://github.com/spinframework/spin). Note this is an experimental/work-in-progress repo, and is not production ready at this point. Also - if you have suggestions for improvements, feel free to make them in the Issues tab.
This is a template for building and statically exporting your 11ty application and running it on Fermyon Spin.
21
+
This is a template for building and statically exporting your 11ty application and running it on Spin.
22
22
23
23
All you need to do is open the [spin-11ty](https://github.com/VamshiReddy02/spin-11ty) repository and click the "Use this template" button. Once you've created your repository from the template, Run `npm install` and `npx start`, then start editing your application. Alternatively, you can run `spin build` and `spin up` to build and run your application.
Copy file name to clipboardExpand all lines: content/api/hub/sample_jinja2.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ keywords = "python, jinja2"
18
18
19
19
---
20
20
21
-
This is an example of using the [Jinja2 template engine](https://jinja.palletsprojects.com/en/3.1.x/) inside of a Fermyon Spin app. You will learn how to load templates off of the filesystem and then render them and serve them back to the client.
21
+
This is an example of using the [Jinja2 template engine](https://jinja.palletsprojects.com/en/3.1.x/) inside of a Spin app. You will learn how to load templates off of the filesystem and then render them and serve them back to the client.
This is an example of using the [Tera template engine](https://keats.github.io/tera/) inside of a Fermyon Spin app. You will learn how to load templates off of the filesystem and then render them.
21
+
This is an example of using the [Tera template engine](https://keats.github.io/tera/) inside of a Spin app. You will learn how to load templates off of the filesystem and then render them.
22
22
23
23
Also, you will learn how to use session cookies to have protected route and how to use `form-post` to submit data to spin route.
0 commit comments