Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ewen-lbh/portfolio
My personal website, which (will eventually) contain all of what I made
https://github.com/ewen-lbh/portfolio
Last synced: 21 days ago
JSON representation
My personal website, which (will eventually) contain all of what I made
- Host: GitHub
- URL: https://github.com/ewen-lbh/portfolio
- Owner: ewen-lbh
- Created: 2023-12-18T01:56:27.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-07-17T13:07:31.000Z (4 months ago)
- Last Synced: 2024-07-18T16:47:37.744Z (4 months ago)
- Language: templ
- Homepage: https://ewen.works
- Size: 3.47 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ewen.works
My personal website, built with [ortfo/db](https://ortfo.org/db) and [go-templ](https://templ.guide)
## Setup
Run this before any command
```sh
cp .env.example .env
# fill values in .env
source .env
```Below are how to do various things like start/build/etc
([generated](./readme_from_justfile.rb) from [the Justfile](./Justfile))
## Dev```sh
ENV=development air
```## Start
```sh
# Run Build's commands
ENV=production ./tmp/main
```## Build
```sh
templ generate
go build -o ./tmp/main .
```## Db
```sh
ortfodb --scattered build database.json
```## Clean
```sh
rm -f */*_templ.go
rm -rf dist/
rm -f database.json
```## Deploy
```sh
rsync -av media/* YOUR_SSH:~/www/media.ewen.works/
rsync -avz public/* YOUR_SSH:~/www/assets.ewen.works/
rsync -av database.json YOUR_SSH:~/portfolio/
ssh YOUR_SSH "tmux send-keys -t 0:0.0 C-c 'git pull --autostash --rebase' Enter 'just start' Enter"
```