2023-09-10 18:26:12 +00:00
|
|
|
# [tjo.space](https://tjo.space)
|
2023-09-10 16:01:52 +00:00
|
|
|
|
2023-09-11 12:02:23 +00:00
|
|
|
## API
|
|
|
|
|
|
|
|
```
|
|
|
|
$ cd api
|
|
|
|
$ bun install
|
|
|
|
$ bun start
|
|
|
|
```
|
|
|
|
|
|
|
|
## WEB
|
|
|
|
|
2023-09-10 18:24:56 +00:00
|
|
|
### Development
|
2023-09-10 16:01:52 +00:00
|
|
|
|
|
|
|
```
|
2023-09-11 12:02:23 +00:00
|
|
|
$ cd web
|
|
|
|
$ bun install
|
|
|
|
$ bun start
|
2023-09-10 16:01:52 +00:00
|
|
|
```
|
|
|
|
|
2023-09-10 18:24:56 +00:00
|
|
|
### Translation
|
|
|
|
1. Generate default locale (english) text to be translated.
|
2023-09-10 16:01:52 +00:00
|
|
|
|
|
|
|
```
|
2023-09-11 12:02:23 +00:00
|
|
|
$ cd web
|
|
|
|
$ bun install
|
|
|
|
$ bun run write-translations
|
2023-09-10 16:01:52 +00:00
|
|
|
```
|
|
|
|
|
2023-09-10 18:24:56 +00:00
|
|
|
2. You can now edit the `i18n/sl` translations. (todo: not sure how this works yet)
|