-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9b64c30
commit 77cc3b1
Showing
120 changed files
with
25,735 additions
and
911 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Deploy to GitHub Pages | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
defaults: | ||
run: | ||
working-directory: docs | ||
|
||
jobs: | ||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: npm | ||
cache-dependency-path: '**/package-lock.json' | ||
- name: Install dependencies | ||
run: npm ci | ||
- name: Build | ||
run: npm run build | ||
- name: Setup Pages | ||
uses: actions/configure-pages@v3 | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v2 | ||
with: | ||
path: docs/build | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v2 | ||
|
||
permissions: | ||
id-token: write | ||
contents: read | ||
pages: write |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
golangci-lint 1.45.2 | ||
golangci-lint 1.54.2 | ||
mockery 2.22.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Dependencies | ||
/node_modules | ||
|
||
# Production | ||
/build | ||
|
||
# Generated files | ||
.docusaurus | ||
.cache-loader | ||
|
||
# Misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Website | ||
|
||
This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator. | ||
|
||
### Installation | ||
|
||
``` | ||
$ yarn | ||
``` | ||
|
||
### Local Development | ||
|
||
``` | ||
$ yarn start | ||
``` | ||
|
||
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. | ||
|
||
### Build | ||
|
||
``` | ||
$ yarn build | ||
``` | ||
|
||
This command generates static content into the `build` directory and can be served using any static contents hosting service. | ||
|
||
### Deployment | ||
|
||
Using SSH: | ||
|
||
``` | ||
$ USE_SSH=true yarn deploy | ||
``` | ||
|
||
Not using SSH: | ||
|
||
``` | ||
$ GIT_USER=<Your GitHub username> yarn deploy | ||
``` | ||
|
||
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
presets: [require.resolve('@docusaurus/core/lib/babel/preset')], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
import React from 'react'; | ||
import Card from '@mui/material/Card'; | ||
import CardActions from '@mui/material/CardActions'; | ||
import CardHeader from '@mui/material/CardHeader'; | ||
import CardContent from '@mui/material/CardContent'; | ||
import Button from '@mui/material/Button'; | ||
import LayersIcon from '@mui/icons-material/Layers'; | ||
import TerminalIcon from '@mui/icons-material/Terminal'; | ||
import Grid from '@mui/material/Grid'; | ||
import CloudQueueIcon from '@mui/icons-material/CloudQueue'; | ||
import { ThemeProvider, createTheme } from '@mui/material/styles'; | ||
import { useColorMode } from '@docusaurus/theme-common' | ||
|
||
export default function PrimaryUseCases() { | ||
const { isDarkTheme } = useColorMode(); | ||
|
||
const darkTheme = createTheme({ | ||
palette: { | ||
mode: isDarkTheme ? 'dark' : 'light', | ||
} | ||
}) | ||
|
||
return ( | ||
<ThemeProvider theme={darkTheme}> | ||
<Grid container spacing={4}> | ||
|
||
<Grid item xs={12} s={12} md={4}> | ||
<Card style={{ height: '100%' }}> | ||
<CardHeader title="API Gateway" avatar={<CloudQueueIcon />} titleTypographyProps={{variant:'h6'}} /> | ||
<CardContent> | ||
Build REST web services with HTTP handling, caching, OAuth, and much more. | ||
</CardContent> | ||
<CardActions> | ||
<Button size="small" href="/gosoline/category/api-gateway">Get started</Button> | ||
</CardActions> | ||
</Card> | ||
</Grid> | ||
|
||
<Grid item xs={12} md={4}> | ||
<Card style={{ height: '100%' }}> | ||
<CardHeader title="Message Queues" avatar={<LayersIcon />} titleTypographyProps={{variant:'h6'}} /> | ||
<CardContent> | ||
Process asynchronous messages from Kafka, Redis, or any other queuing or streaming system. | ||
</CardContent> | ||
<CardActions> | ||
<Button size="small" href="/gosoline/quickstart/create-a-consumer">Get started</Button> | ||
</CardActions> | ||
</Card> | ||
</Grid> | ||
|
||
<Grid item xs={12} md={4}> | ||
<Card style={{ height: '100%' }}> | ||
<CardHeader title="Kernel Module" avatar={<TerminalIcon />} titleTypographyProps={{variant:'h6'}} /> | ||
<CardContent> | ||
Implement a kernel module with which you can do anything, using gosoline's logging, configuration, and other solutions. | ||
</CardContent> | ||
<CardActions> | ||
<Button size="small" href="/gosoline/quickstart/create-an-application">Get started</Button> | ||
</CardActions> | ||
</Card> | ||
</Grid> | ||
|
||
</Grid> | ||
</ThemeProvider> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"label": "How-to guides", | ||
"position": 3, | ||
"link": { | ||
"type": "generated-index", | ||
"description": "Here, you'll learn how to do common tasks with gosoline:" | ||
} | ||
} |
Oops, something went wrong.