FLASH: Added a simple explanation about the server instance types.
This commit is contained in:
+34
-66
@@ -1,72 +1,40 @@
|
||||
---
|
||||
next:
|
||||
text: 'Installation'
|
||||
link: '/flash/installation'
|
||||
---
|
||||
|
||||
# ⚡ Flash
|
||||
|
||||
Flash is a simple, modern and fast expressive web framework written in Java.
|
||||
The project is maintained by Pixel Services and the open-source community.
|
||||
|
||||
|
||||
<script setup>
|
||||
import { ref, onMounted } from 'vue';
|
||||
import { VPTeamMembers } from 'vitepress/theme';
|
||||
|
||||
const latestVersion = ref('');
|
||||
|
||||
onMounted(async () => {
|
||||
try {
|
||||
const response = await fetch('https://maven.pixel-services.com/api/maven/details/releases/com/pixelservices/flash');
|
||||
const data = await response.json();
|
||||
const versions = data.files.filter(file => file.type === 'DIRECTORY').map(file => file.name);
|
||||
latestVersion.value = versions.sort().pop();
|
||||
} catch (error) {
|
||||
console.error('Error fetching latest version:', error);
|
||||
latestVersion.value = 'Error fetching version';
|
||||
}
|
||||
})
|
||||
const members = [
|
||||
{
|
||||
avatar: 'https://avatars.githubusercontent.com/u/83401018?v=4',
|
||||
name: 'Relism',
|
||||
title: 'Developer',
|
||||
links: [
|
||||
{ icon: 'github', link: 'https://github.com/Relism' },
|
||||
]
|
||||
},
|
||||
{
|
||||
avatar: 'https://avatars.githubusercontent.com/u/69807609?v=4',
|
||||
name: 'Sieadev',
|
||||
title: 'Developer',
|
||||
links: [
|
||||
{ icon: 'github', link: 'https://github.com/sieadev' },
|
||||
]
|
||||
},
|
||||
]
|
||||
</script>
|
||||
|
||||
# ⚡ Getting Started
|
||||
# Our Team
|
||||
|
||||
This page provides installation instructions for the latest version of the `flash` library from Pixel Services.
|
||||
Say hello to the Pixel Services team !
|
||||
|
||||
## Installation
|
||||
|
||||
### Maven (pom.xml)
|
||||
|
||||
1. Add the repository :
|
||||
```xml
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>pixel-services</id>
|
||||
<name>Pixel Services</name>
|
||||
<url>https://maven.pixel-services.com/repository</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
```
|
||||
|
||||
2. And the dependency :
|
||||
```xml
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.pixelservices</groupId>
|
||||
<artifactId>flash</artifactId>
|
||||
<version>{{ latestVersion }}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
```
|
||||
|
||||
### Gradle (build.gradle)
|
||||
|
||||
1. Add the repository :
|
||||
```groovy
|
||||
repositories {
|
||||
maven {
|
||||
url "https://maven.pixel-services.com/repository"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
2. And the dependency :
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.pixelservices:flash:{{ latestVersion }}'
|
||||
}
|
||||
```
|
||||
|
||||
<div>
|
||||
⚡ Latest version:
|
||||
<a href="'https://maven.pixel-services.com/#/releases/com/pixelservices/flash'" style="text-decoration: underline; color: #007bff;">
|
||||
<strong>{{ latestVersion }}</strong>
|
||||
</a>
|
||||
</div>
|
||||
<VPTeamMembers size="small" :members="members" />
|
||||
Reference in New Issue
Block a user