Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thiagotn/svadmin
sample sveltekit project with github-actions configured
https://github.com/thiagotn/svadmin
cicd docker github-actions playwright svelte sveltekit
Last synced: 26 days ago
JSON representation
sample sveltekit project with github-actions configured
- Host: GitHub
- URL: https://github.com/thiagotn/svadmin
- Owner: thiagotn
- Created: 2024-07-28T01:18:39.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-02T18:34:56.000Z (3 months ago)
- Last Synced: 2024-09-28T13:42:39.449Z (about 1 month ago)
- Topics: cicd, docker, github-actions, playwright, svelte, sveltekit
- Language: JavaScript
- Homepage:
- Size: 185 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# svadmin
POC for the validation of github actions in a project with svelte-kit, docker and Kubernetes resources.
## TODO list
| Id | Item | Status |
|---|---|---|
| 1 | Pipeline Github Actions | ✓ |
| 2 | Docker Image/Push | ✓ |
| 3 | Docker Image, update version (from 0.0.1 to 0.0.2) | ✓ |
| 4 | Update files that uses app version | ✓ |
| 5 | Call ArgoCD to start delivery | TODO |
| 6 | [Teams notification](https://github.com/marketplace/actions/notify-microsoft-teams) | TODO |## About Svelte.
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/main/packages/create-svelte).
## Developing
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
```bash
npm run dev# or start the server and open the app in a new browser tab
npm run dev -- --open
```## Building
To create a production version of your app:
```bash
npm run build
```You can preview the production build with `npm run preview`.
> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
## Docker
### Build Image
To build a docker image:
```bash
docker build -t svadmin .
```### Run Image
To run the image:
```bash
docker run -p 3000:3000 svadmin
```