Serve web client by default on new installations
This commit is contained in:
parent
ad887d3136
commit
477839345c
3 changed files with 6 additions and 6 deletions
|
@ -8,7 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||
|
||||
### Changed
|
||||
|
||||
- Updated recommended nginx config.
|
||||
- Updated installation instructions, default mitra config and recommended nginx config.
|
||||
|
||||
### Fixed
|
||||
|
||||
|
|
|
@ -63,15 +63,15 @@ CREATE DATABASE mitra OWNER mitra;
|
|||
|
||||
Create configuration file by copying `contrib/mitra_config.yaml` and configure the instance. Default config file path is `/etc/mitra/config.yaml`, but it can be changed using `CONFIG_PATH` environment variable.
|
||||
|
||||
Put any static files into the directory specified in configuration file. Building instructions for `mitra-web` frontend can be found at https://codeberg.org/silverpill/mitra-web#project-setup.
|
||||
|
||||
Start Mitra:
|
||||
|
||||
```shell
|
||||
./mitra
|
||||
```
|
||||
|
||||
An HTTP server will be needed to handle HTTPS requests and serve the frontend. See the example of [nginx configuration file](./contrib/mitra.nginx).
|
||||
|
||||
Building instructions for `mitra-web` frontend can be found at https://codeberg.org/silverpill/mitra-web#project-setup.
|
||||
An HTTP server will be needed to handle HTTPS requests. See the example of [nginx configuration file](./contrib/mitra.nginx).
|
||||
|
||||
To run Mitra as a systemd service, check out the [systemd unit file example](./contrib/mitra.service).
|
||||
|
||||
|
@ -98,7 +98,7 @@ Start Mitra:
|
|||
systemctl start mitra
|
||||
```
|
||||
|
||||
An HTTP server will be needed to handle HTTPS requests and serve the frontend. See the example of [nginx configuration file](./contrib/mitra.nginx).
|
||||
An HTTP server will be needed to handle HTTPS requests. See the example of [nginx configuration file](./contrib/mitra.nginx).
|
||||
|
||||
### Monero
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
database_url: postgres://mitra:mitra@127.0.0.1:5432/mitra
|
||||
storage_dir: /var/lib/mitra
|
||||
# Path to web client static files
|
||||
#web_client_dir: /usr/share/mitra/www
|
||||
web_client_dir: /usr/share/mitra/www
|
||||
|
||||
http_host: '127.0.0.1'
|
||||
http_port: 8383
|
||||
|
|
Loading…
Reference in a new issue