Update README.md

This commit is contained in:
Jason Blais
2016-12-06 12:53:47 -05:00
committed by GitHub
parent c6fa55dd7c
commit cad3cb5553

View File

@@ -3,31 +3,26 @@
## Table of Contents ## Table of Contents
- [Install](#install) - [Install](#install)
- [Usage](#usage) - [User Guide](#user-guide)
- [Contributing](#contributing) - [Contributing](#contributing)
- [License](#license) - [License](#license)
## Install ## Install
If you were installed the application via package managers, you don't have to do If you installed the application via a package manager, it's ready to use in your system. Please follow the [User Guide](#user-guide) for further information.
anymore. It's ready to use in your system, so please follow [usage](#usage)
instruction.
First, locate the extracted directory into your desired directory (e.g.
`/opt/mattermost-desktop-<VERSION>`).
Otherwise, first locate the extracted directory in your desired directory (e.g. `/opt/mattermost-desktop-<VERSION>`) and follow the steps below.
### Desktop launcher ### Desktop launcher
Execute the script file to create `Mattermost.desktop` file. Execute the script file to create a `Mattermost.desktop` file.
``` ```
/opt/mattermost-desktop-<VERSION>/create_desktop_file.sh /opt/mattermost-desktop-<VERSION>/create_desktop_file.sh
``` ```
Then move it into appropreate directory of your desktop environment. For Then move it to the appropriate directory of your desktop environment. For example, on Ubuntu Unity it's `~/.local/share/applications/` for the current user.
example, it's `~/.local/share/applications/` for current user on Ubuntu Unity.
``` ```
mv Mattermost.desktop ~/.local/share/applications/ mv Mattermost.desktop ~/.local/share/applications/
@@ -35,8 +30,7 @@ mv Mattermost.desktop ~/.local/share/applications/
### Terminal command ### Terminal command
Set `PATH` environment variable to enable launching from terminal. Set a `PATH` environment variable to enable launching from the terminal. For example, you can append the following line into `~/.bashrc`.
For example, you can append following line into `~/.bashrc`.
```sh ```sh
# assuming that /opt/mattermost-desktop-<VERSION>/mattermost-desktop is the executable file. # assuming that /opt/mattermost-desktop-<VERSION>/mattermost-desktop is the executable file.
@@ -49,24 +43,24 @@ Alternatively, you can also create a symbolic link for the application.
sudo ln -s /opt/mattermost-desktop-<VERSION>/mattermost-desktop /usr/local/bin/ sudo ln -s /opt/mattermost-desktop-<VERSION>/mattermost-desktop /usr/local/bin/
``` ```
## Usage You're now all set! See the [User Guide](#user-guide) below for instructions.
## User Guide
After launching, you need to configure the application to interact with your team. After launching, you need to configure the application to interact with your team.
1. If you don't see "Settings" page, select **File** -> **Settings...** from the menu bar. 1. If you don't see a page titled "Settings", select **File** > **Settings...** from the menu bar.
2. Click **Add new team** next to the right of Team Management section. 2. Click **Add new team** next to the right of Team Management section.
3. Enter **Name** and a valid **URL**, which begins with either `http://` or `https://`. 3. Enter **Name** and a valid **URL**, which begins with either `http://` or `https://`.
4. Click **Add**. 4. Click **Add**.
More guides are available at [Mattermost Documentation](https://docs.mattermost.com/help/apps/desktop-guide.html).
### More guides
Available at [Mattermost Documentation](https://docs.mattermost.com/help/apps/desktop-guide.html).
## Contributing ## Contributing
See [the contribute file](https://github.com/mattermost/desktop/blob/master/CONTRIBUTING.md). See [contributing guidlines](https://github.com/mattermost/desktop/blob/master/CONTRIBUTING.md) for reporting bugs, features or submitting pull requests.
## License ## License