+6
-3
README.md
+6
-3
README.md
···
2
3
A (somewhat barebones) atproto app for creating custom sites without hosting!
4
5
- Lexicons are located at [`./lexicons`](./lexicons/)
6
- Server backend is located at [`./server`](./server/)
7
- Upload CLI is located at [`./upload`](./upload/)
···
11
## How to:
12
13
**View someones site?**
14
-
Head to `https://<handle>.atcities.dev/` or `https://<did>.did-<method>.atcities.dev/`.
15
16
**Upload your own site?**
17
-
Use the upload cli. Installation guide below.
18
19
**Self host atcities.dev?**
20
-
Clone this repo and setup the `.env` file for `/server`, then \<build & run instructions here once complete\>
21
22
### CLI installation guide.
23
···
2
3
A (somewhat barebones) atproto app for creating custom sites without hosting!
4
5
+
> [!CAUTION]
6
+
> This software is super duper alpha and not tested thoroughly! Use at your own risk!
7
+
8
- Lexicons are located at [`./lexicons`](./lexicons/)
9
- Server backend is located at [`./server`](./server/)
10
- Upload CLI is located at [`./upload`](./upload/)
···
14
## How to:
15
16
**View someones site?**
17
+
> Head to `https://<handle>.atcities.dev/` or `https://<did>.did-<method>.atcities.dev/`.
18
19
**Upload your own site?**
20
+
> Use the upload cli. Installation guide below.
21
22
**Self host atcities.dev?**
23
+
> Clone this repo and setup the `.env` file for `/server`, then run `deno run run`
24
25
### CLI installation guide.
26
+1
server/deno.json
+1
server/deno.json
···
1
{
2
"tasks": {
3
"dev": "deno run --watch --allow-net --allow-env --allow-sys --allow-read=/usr/bin/ldd,./blobs,./src --allow-write=./blobs --allow-ffi --env-file src/index.ts",
4
"lexgen": "deno run --allow-env --allow-sys --allow-read=.. --allow-write=./src/lexicons --no-prompt @atcute/lex-cli generate -c ./lex.config.js && cat ./src/lexicons/index.ts | sed \"s/.js/.ts/\" > ./src/lexicons/index.ts",
5
"dk": "deno run -A --node-modules-dir npm:drizzle-kit"
6
},
···
1
{
2
"tasks": {
3
"dev": "deno run --watch --allow-net --allow-env --allow-sys --allow-read=/usr/bin/ldd,./blobs,./src --allow-write=./blobs --allow-ffi --env-file src/index.ts",
4
+
"run": "deno run --allow-net --allow-env --allow-sys --allow-read=/usr/bin/ldd,./blobs,./src --allow-write=./blobs --allow-ffi --env-file src/index.ts",
5
"lexgen": "deno run --allow-env --allow-sys --allow-read=.. --allow-write=./src/lexicons --no-prompt @atcute/lex-cli generate -c ./lex.config.js && cat ./src/lexicons/index.ts | sed \"s/.js/.ts/\" > ./src/lexicons/index.ts",
6
"dk": "deno run -A --node-modules-dir npm:drizzle-kit"
7
},