Added more options to run locally
This commit is contained in:
parent
14cfa69060
commit
cd5b7b17f6
1 changed files with 8 additions and 1 deletions
|
@ -14,6 +14,11 @@ Cinny is a [Matrix](https://matrix.org) client focusing primarily on simple, ele
|
||||||
|
|
||||||
## Building and Running
|
## Building and Running
|
||||||
|
|
||||||
|
### Running pre-compiled
|
||||||
|
|
||||||
|
A tarball of pre-compiled version of the app is provided with each [release](https://github.com/ajbura/cinny/releases).
|
||||||
|
You can serve the application with a webserver of your choosing by simply copying `dist/` directory to the webroot.
|
||||||
|
|
||||||
### Building from source
|
### Building from source
|
||||||
|
|
||||||
Execute the following commands to compile the app from its source code:
|
Execute the following commands to compile the app from its source code:
|
||||||
|
@ -44,10 +49,12 @@ docker run -p 8080:80 cinny:latest
|
||||||
This will forward your `localhost` port 8080 to the container's port 80. You can visit the app in your browser by
|
This will forward your `localhost` port 8080 to the container's port 80. You can visit the app in your browser by
|
||||||
navigating to `http://localhost:8080`.
|
navigating to `http://localhost:8080`.
|
||||||
|
|
||||||
|
Alternatively you can just pull the [DockerHub image](https://hub.docker.com/r/ajbura/cinny) by `docker pull ajbura/cinny`.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Copyright (c) 2021 Ajay Bura (ajbura) and other contributors
|
Copyright (c) 2021 Ajay Bura (ajbura) and other contributors
|
||||||
|
|
||||||
Code licensed under the MIT License: <http://opensource.org/licenses/MIT>
|
Code licensed under the MIT License: <http://opensource.org/licenses/MIT>
|
||||||
|
|
||||||
Graphics licensed under CC-BY 4.0: <https://creativecommons.org/licenses/by/4.0/>
|
Graphics licensed under CC-BY 4.0: <https://creativecommons.org/licenses/by/4.0/>
|
||||||
|
|
Loading…
Reference in a new issue