Skip to content

Commit

Permalink
add datalb tutorials
Browse files Browse the repository at this point in the history
  • Loading branch information
avouacr committed Jul 21, 2023
1 parent 5d1ecfc commit fa1d749
Show file tree
Hide file tree
Showing 5 changed files with 128 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/assets/img/onyxia.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/i18n/i18n.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ const {
"check spelling": `Vérifiez l'orthographe ou essayez d'élargir votre recherche.`,
"go back": "Retourner à toutes les formations",
"show all": "Afficher tous",
"discover the datalab": "Premiers pas avec le Datalab",
"training courses with R": "Parcours de formation à R",
"training courses with python": "Parcours de formation à Python",
"training courses in data science": "Tutoriels de data science",
Expand Down
116 changes: 116 additions & 0 deletions src/lib/educationalResources/educationalResources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@ import mlflowImgUrl from "assets/img/mlflow.png";
import shinyImgUrl from "assets/img/shiny.png";
import dsImgUrl from "assets/img/data-science.png";
import observableImgUrl from "assets/img/observable.png";
import onyxiaImgUrl from "assets/img/onyxia.svg";


export type EducationalResourceCategory =
| "discover the datalab"
| "training courses with R"
| "training courses with python"
| "training courses in data science"
Expand Down Expand Up @@ -81,6 +83,120 @@ export const educationalResources: (
| EducationalResource
| EducationalResourceDirectory
)[] = [
{
"name": {
"fr": "Principes du Datalab",
"en": "Principles of the Datalab",
},
"abstract": {
"fr": "Présentation des grands principes du Datalab",
"en": "Introducing the main principles of the Datalab",
},
"authors": ["Inseefrlab"],
"types": ["Tutoriel"],
"tags": ["learn"],
"category": "discover the datalab",
"imageUrl": onyxiaImgUrl,
"articleUrl": {
"fr": "https://inseefrlab.github.io/docs.sspcloud.fr/docs/fr/principles.html",
"en": "https://inseefrlab.github.io/docs.sspcloud.fr/docs/en/principles.html"
}
},
{
"name": {
"fr": "Premiers pas avec le Datalab",
"en": "Getting started with the Datalab",
},
"abstract": {
"fr": "Visite guidée du Datalab",
"en": "A guided tour of the Datalab",
},
"authors": ["Inseefrlab"],
"types": ["Tutoriel"],
"tags": ["learn"],
"category": "discover the datalab",
"imageUrl": onyxiaImgUrl,
"articleUrl": {
"fr": "https://inseefrlab.github.io/docs.sspcloud.fr/docs/fr/discover.html",
"en": "https://inseefrlab.github.io/docs.sspcloud.fr/docs/en/discover.html"
}
},
{
"name": {
"fr": "Contrôle de version",
"en": "Version control",
},
"abstract": {
"fr": "Versionner son code avec Git sur le Datalab",
"en": "Version your code with Git on the Datalab",
},
"authors": ["Inseefrlab"],
"types": ["Tutoriel"],
"tags": ["learn"],
"category": "discover the datalab",
"imageUrl": onyxiaImgUrl,
"articleUrl": {
"fr": "https://inseefrlab.github.io/docs.sspcloud.fr/docs/fr/version-control.html",
"en": "https://inseefrlab.github.io/docs.sspcloud.fr/docs/en/version-control.html"
}
},
{
"name": {
"fr": "Stockage de données",
"en": "Data storage",
},
"abstract": {
"fr": "Stocker des données sur MinIO et les utiliser dans des services sur le Datalab",
"en": "Store data on MinIO and use it in services on the Datalab",
},
"authors": ["Inseefrlab"],
"types": ["Tutoriel"],
"tags": ["learn"],
"category": "discover the datalab",
"imageUrl": onyxiaImgUrl,
"articleUrl": {
"fr": "https://inseefrlab.github.io/docs.sspcloud.fr/docs/fr/data-storage.html",
"en": "https://inseefrlab.github.io/docs.sspcloud.fr/docs/en/data-storage.html"
}
},
{
"name": {
"fr": "Gestion des secrets",
"en": "Managing secrets",
},
"abstract": {
"fr": "Utiliser des secrets comme variables d’environnement dans les services du Datalab",
"en": "Use secrets as environment variables in services on the Datalab",
},
"authors": ["Inseefrlab"],
"types": ["Tutoriel"],
"tags": ["learn"],
"category": "discover the datalab",
"imageUrl": onyxiaImgUrl,
"articleUrl": {
"fr": "https://inseefrlab.github.io/docs.sspcloud.fr/docs/fr/secrets.html",
"en": "https://inseefrlab.github.io/docs.sspcloud.fr/docs/en/secrets.html"
}
},
{
"name": {
"fr": "Configuration des services",
"en": "Services configuration",
},
"abstract": {
"fr": "Documentation des différents paramètres de configuration d'un service",
"en": "Documentation of service configuration parameters",
},
"authors": ["Inseefrlab"],
"types": ["Tutoriel"],
"tags": ["learn"],
"category": "discover the datalab",
"imageUrl": onyxiaImgUrl,
"articleUrl": {
"fr": "https://inseefrlab.github.io/docs.sspcloud.fr/docs/fr/configuration.html",
"en": "https://inseefrlab.github.io/docs.sspcloud.fr/docs/en/configuration.html"
}
},
{
"name": {
"fr": "FuncampR - Grimoire (FR)",
Expand Down
1 change: 1 addition & 0 deletions src/lib/educationalResources/useCase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ export function getState(params: { routeParams: RouteParams }): State {
const { directory, parts, reLocalizedPath } = resolvePath({ path });

const dataCardsByCategory: Record<EducationalResourceCategory, DataCard[]> = {
"discover the datalab": [],
"training courses with R": [],
"training courses with python": [],
"training courses in data science": [],
Expand Down
1 change: 1 addition & 0 deletions src/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export const routeDefs = {
getEnumValueSerializer(
(() => {
const educationalResourceCategories = [
"discover the datalab",
"training courses with R",
"training courses with python",
"training courses in data science",
Expand Down

0 comments on commit fa1d749

Please sign in to comment.