Compare commits

..

15 Commits

Author SHA1 Message Date
luke-else a1b5e46d38 feat: Updated devcontainer
Build and Push Development Docker Image / build-and-push (push) Successful in 1m8s
Run Unit and Integration Tests / test (push) Successful in 1m7s
Run Unit and Integration Tests / test (pull_request) Successful in 53s
2025-10-21 22:46:43 +01:00
luke-else 5a0eab31d1 Merge pull request 'development' (#15) from development into main
Build and Push Latest Docker Image / build-and-push (push) Successful in 1m5s
Build and Push Development Docker Image / build-and-push (push) Successful in 1m4s
Run Unit and Integration Tests / test (push) Successful in 54s
Reviewed-on: #15
2025-09-26 09:26:33 +00:00
luke-else 00c710e524 Merge pull request 'feat: Added devcontainer' (#14) from feature/devcontainer into development
Build and Push Development Docker Image / build-and-push (push) Successful in 1m4s
Run Unit and Integration Tests / test (push) Successful in 54s
Run Unit and Integration Tests / test (pull_request) Successful in 52s
Reviewed-on: #14
2025-09-26 09:23:06 +00:00
luke-else 0641bb8d1a feat: Added devcontainer
Run Unit and Integration Tests / test (push) Successful in 58s
Run Unit and Integration Tests / test (pull_request) Successful in 58s
2025-09-25 23:33:10 +01:00
luke-else 7bb7e8769d Merge pull request 'development' (#13) from development into main
Build and Push Latest Docker Image / build-and-push (push) Successful in 59s
Run Unit and Integration Tests / test (push) Successful in 51s
Reviewed-on: #13
2025-08-01 18:03:06 +00:00
luke-else 59bef990db Merge pull request 'chore/base-image' (#12) from chore/base-image into development
Build and Push Development Docker Image / build-and-push (push) Successful in 1m5s
Run Unit and Integration Tests / test (push) Successful in 49s
Run Unit and Integration Tests / test (pull_request) Successful in 51s
Reviewed-on: #12
2025-08-01 17:39:37 +00:00
luke-else 8acd79cf46 chore: Fixed pnpm build commands
Run Unit and Integration Tests / test (push) Successful in 53s
Run Unit and Integration Tests / test (pull_request) Successful in 49s
2025-08-01 18:38:13 +01:00
luke-else 8959dafdba chore: Updated docker build process to use new base-images
Run Unit and Integration Tests / test (push) Successful in 52s
2025-08-01 17:46:33 +01:00
luke-else c5942b1256 Merge pull request 'development' (#10) from development into main
Build and Push Latest Docker Image / build-and-push (push) Successful in 1m28s
Run Unit and Integration Tests / test (push) Successful in 49s
Reviewed-on: #10
2025-07-26 13:32:56 +00:00
luke-else 8b797d37a6 Merge pull request 'feature/unit-testing' (#9) from feature/unit-testing into development
Build and Push Development Docker Image / build-and-push (push) Successful in 1m41s
Run Unit and Integration Tests / test (pull_request) Successful in 47s
Run Unit and Integration Tests / test (push) Successful in 54s
Reviewed-on: #9
2025-07-26 13:29:18 +00:00
luke-else 4eebdb596e feat: Updated readme
Run Unit and Integration Tests / test (push) Successful in 49s
Run Unit and Integration Tests / test (pull_request) Successful in 53s
2025-07-26 14:12:33 +01:00
luke-else 30284156e8 feat: Added images to site
Run Unit and Integration Tests / test (push) Successful in 53s
2025-07-26 14:09:09 +01:00
luke-else 6cc0bb080d Merge pull request 'development' (#3) from development into main
Build and Push Latest Docker Image / build-and-push (push) Successful in 1m29s
Run Unit and Integration Tests / test (push) Failing after 48s
Reviewed-on: #3
2025-06-20 21:39:05 +00:00
luke-else 28b63d7944 Merge pull request 'FEAT: Added weather card which nicely displays the weather conditions from a METAR object' (#2) from development into main
Build and Push Latest Docker Image / build-and-push (push) Failing after 3m2s
Run Unit and Integration Tests / test (push) Failing after 59s
Reviewed-on: #2
2025-06-20 12:30:30 +00:00
luke-else d139552f2b Merge pull request 'development' (#1) from development into main
Build and Push Latest Docker Image / build-and-push (push) Successful in 1m39s
Run Unit and Integration Tests / test (push) Failing after 52s
Reviewed-on: #1
2025-06-18 20:50:11 +00:00
5 changed files with 46 additions and 23 deletions
+15
View File
@@ -0,0 +1,15 @@
{
"name": "metarius.luke-else.co.uk",
"image": "git.luke-else.co.uk/luke-else/nodejs-dev:latest",
"remoteUser": "dev",
"customizations": {
"vscode": {
"extensions": [
"ms-azuretools.vscode-docker",
"ms-vscode-remote.remote-containers",
"svelte.svelte-vscode"
]
}
},
"postCreateCommand": "pnpm install"
}
+25 -17
View File
@@ -1,38 +1,46 @@
# sv ## Welcome
Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli). This site is a clean wrapper around Aviation weather APIs to allow desk pilots to pre-brief flights effectively!
## Creating a project ## Screenshots
If you're seeing this, you've probably already done this step. Congrats! <p align="center">
<img src="assets/images/main.png" width="20%">
<img src="assets/images/main-screen.png" width="40%">
</p>
## Getting Started
Get starting but installing all of the dependencies of the project.
```bash ```bash
# create a new project in the current directory npm install
npx sv create
# create a new project in my-app
npx sv create my-app
``` ```
## Developing Once you've created a project and installed dependencies with `pnpm install` (or `npm install` or `yarn`), start a development server:
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
```bash ```bash
npm run dev pnpm run dev
```
```bash
# or start the server and open the app in a new browser tab # or start the server and open the app in a new browser tab
npm run dev -- --open pnpm run dev -- --open
``` ```
## Building ## Building
To create a production version of your app: To create a production version of the app:
```bash ```bash
npm run build pnpm run build
``` ```
You can preview the production build with `npm run preview`. You can preview the production build with `pnpm run preview`.
> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment. > To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment. In this case, vite is used.
Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

+6 -6
View File
@@ -1,4 +1,4 @@
FROM node:lts-slim as build FROM git.luke-else.co.uk/luke-else/nodejs:latest AS build
WORKDIR /app WORKDIR /app
@@ -6,15 +6,15 @@ COPY package*.json ./
RUN rm -rf node_modules RUN rm -rf node_modules
RUN rm -rf build RUN rm -rf build
COPY . . COPY . .
RUN npm install RUN pnpm install
RUN npm run build RUN pnpm run build
FROM node:lts-slim as run FROM git.luke-else.co.uk/luke-else/nodejs:latest AS run
WORKDIR /app WORKDIR /app
COPY --from=build /app/package.json ./package.json COPY --from=build /app/package.json ./package.json
COPY --from=build /app/build ./build COPY --from=build /app/build ./build
RUN npm install --omit=dev RUN pnpm install --prod
EXPOSE 3000 EXPOSE 3000
ENTRYPOINT [ "npm", "run", "start" ] ENTRYPOINT [ "pnpm", "run", "start" ]