mirror of
https://gitlab.com/djdietrick/docs
synced 2026-05-03 01:30:55 -04:00
Initial checkin
This commit is contained in:
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
node_modules
|
||||||
|
docs/dist
|
||||||
|
.vscode
|
||||||
22
.gitlab-ci.yml
Normal file
22
.gitlab-ci.yml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
variables:
|
||||||
|
SERVICE_NAME: "docs"
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- deploy
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
stage: deploy
|
||||||
|
only:
|
||||||
|
- main # This pipeline stage will run on this branch alone
|
||||||
|
|
||||||
|
image: google/cloud-sdk:latest # We'll use Google Cloud SDK for Cloud Run related commands
|
||||||
|
script:
|
||||||
|
- echo $GCP_SERVICE_ACCOUNT > gcloud-service-key.json # Save Google cloud contents in a temporary json file
|
||||||
|
- gcloud auth activate-service-account --key-file gcloud-service-key.json # Activate your service account
|
||||||
|
- gcloud auth configure-docker # Configure docker environment
|
||||||
|
- gcloud config set project $GCP_PROJECT_ID #Set the GCP Project ID to the variable name
|
||||||
|
- gcloud builds submit --tag gcr.io/$GCP_PROJECT_ID/$SERVICE_NAME #Run the gcloud build command to build our image
|
||||||
|
- gcloud run deploy $SERVICE_NAME --image gcr.io/$GCP_PROJECT_ID/$SERVICE_NAME --region=us-east4 --platform managed --allow-unauthenticated # Run the gcloud run deploy command to deploy our new service
|
||||||
|
|
||||||
|
rules:
|
||||||
|
- when: never
|
||||||
38
docs/.vitepress/config.js
Normal file
38
docs/.vitepress/config.js
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
const pythonSidebar = [
|
||||||
|
{
|
||||||
|
text: 'Test',
|
||||||
|
items: [
|
||||||
|
{text: 'Introduction', link: '/'},
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
|
export default {
|
||||||
|
title: 'Docs.Dietrick.Dev',
|
||||||
|
descript: 'A collection of notes and snippets',
|
||||||
|
themeConfig: {
|
||||||
|
sidebar: {
|
||||||
|
'/python/': [
|
||||||
|
{
|
||||||
|
text: 'Test',
|
||||||
|
items: [
|
||||||
|
{text: 'Introduction', link: '/'},
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
'/': [
|
||||||
|
{
|
||||||
|
text: 'Home',
|
||||||
|
items: [
|
||||||
|
{text: 'Introduction', link: '/'},
|
||||||
|
{text: 'Languages', link: '/languages'},
|
||||||
|
{text: 'Frameworks', link: '/frameworks'},
|
||||||
|
{text: 'Devops', link: '/devops'}
|
||||||
|
]
|
||||||
|
|
||||||
|
}
|
||||||
|
],
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
0
docs/devops.md
Normal file
0
docs/devops.md
Normal file
0
docs/frameworks.md
Normal file
0
docs/frameworks.md
Normal file
3
docs/index.md
Normal file
3
docs/index.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# Introduction
|
||||||
|
|
||||||
|
This website serves as a collection of notes and code snippets for my reference and from whatever I am learning at the moment.
|
||||||
1
docs/languages.md
Normal file
1
docs/languages.md
Normal file
@@ -0,0 +1 @@
|
|||||||
|
# Languages
|
||||||
1
docs/python/index.md
Normal file
1
docs/python/index.md
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Test python
|
||||||
1918
package-lock.json
generated
Normal file
1918
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
17
package.json
Normal file
17
package.json
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"name": "docs",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "",
|
||||||
|
"main": "index.js",
|
||||||
|
"scripts": {
|
||||||
|
"dev": "vitepress dev docs",
|
||||||
|
"build": "vitepress build docs",
|
||||||
|
"serve": "vitepress serve docs"
|
||||||
|
},
|
||||||
|
"author": "",
|
||||||
|
"license": "ISC",
|
||||||
|
"devDependencies": {
|
||||||
|
"vitepress": "^1.0.0-alpha.13",
|
||||||
|
"vue": "^3.2.38"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user