1159cl/README.md

33 lines
1.0 KiB
Markdown
Raw Permalink Normal View History

2023-05-16 18:07:18 +00:00
# 1159cl
2023-05-24 23:47:06 +00:00
Mario Romero (Mario1159) personal page deployed at [1159.cl](https://www.1159.cl).
This website uses [Lume](https://lume.land) as a static site generator.
2023-05-24 23:47:37 +00:00
## Dependencies
2023-05-24 23:47:06 +00:00
- [Deno](https://deno.com/runtime)
- [Lume](https://lume.land)
- [Docker](https://www.docker.com/) (Optional: for container deployment and dev enviroment)
2023-05-24 23:47:37 +00:00
## Development enviroment
2023-05-24 23:47:06 +00:00
For development you can use [Docker Dev Environments](https://docs.docker.com/desktop/dev-environments/) following the next link.
> [Open in Docker Dev Environments](https://open.docker.com/dashboard/dev-envs?url=https://git.1159.cl/Mario1159/1159cl)
After opening the enviroment with an IDE, you can run the web server in the container with the integrated Deno runtime in the `/src` folder.
```
deno task serve
```
Then you can access the site in `localhost:<mapped-port>`.
2023-05-24 23:47:37 +00:00
## Deploy
2023-05-24 23:47:06 +00:00
Deploy the container using the the [latest image](Mario1159/1159cl) generated by the CI/CD action workflow.
```
docker pull git.1159.cl/mario1159/1159cl
docker run -it git.1159.cl/mario1159/1159cl
```