add: move upload server to buckets
This commit is contained in:
parent
8116307ba0
commit
75fe720f21
83 changed files with 351 additions and 458 deletions
|
@ -35,7 +35,9 @@ A `docs` directory will be generated in the same directory that you ran the `tet
|
|||
|
||||
You can configure your port through the `port` key of the configuration file. You can also run the server with the `PORT` environment variable, which will override whatever is set in the configuration file. You can also use the `CACHE_BREAKER` environment variable to specify a version number to be used in static asset links in order to break cache entries.
|
||||
|
||||
You can launch with the `LITTLEWEB=true` environment variable to start the littleweb viewer/fake DNS server. This should be used in combination with `PORT`, as well as set as the `lw_host` in your configuration file. This secondary server is required to allow users to view their littleweb projects.
|
||||
You can launch with the `LITTLEWEB=true` environment variable to start the littleweb viewer/fake DNS server. This should be used in combination with `PORT`, as well as set as the `littleweb` key in the `[service_hosts]` section of your configuration file. This secondary server is required to allow users to view their littleweb projects.
|
||||
|
||||
You are also required to include the `buckets` key of the `[service_hosts]` section of your configuration file. This host should link to [upload server](https://trisua.com/t/buckets). Tetratto provides Buckets with the `media` directory you set (in the `dirs` section of your configuration file). The `uploads` sub-directory of your media directory is also used, and as such should be a symbolic link to the Buckets [directory](https://docs.rs/buckets-core/latest/buckets_core/struct.Config.html#structfield.directory).
|
||||
|
||||
## Usage (as a user)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue