lemmur-app-android/README.md

61 lines
2.2 KiB
Markdown
Raw Normal View History

2020-12-04 14:07:24 +01:00
<div align="center">
2020-08-02 19:28:42 +02:00
[![](https://github.com/krawieck/lemmur/workflows/ci/badge.svg)](https://github.com/krawieck/lemmur/actions)
2020-12-04 14:22:42 +01:00
<img width=200px height=200px src="https://raw.githubusercontent.com/krawieck/lemmur/master/assets/readme_icon.svg"/>
# lemmur
A mobile client for [lemmy](https://github.com/LemmyNet/lemmy) - a federated reddit alternative
<a href="https://www.buymeacoffee.com/lemmur" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a>
2020-10-20 20:09:58 +02:00
2020-12-04 14:07:24 +01:00
</div>
2020-10-25 13:31:19 +01:00
- [lemmur](#lemmur)
- [Build from source](#build-from-source)
- [Prerequisites](#prerequisites)
- [Android](#android)
- [Linux](#linux)
2020-10-28 00:00:27 +01:00
- [Windows](#windows)
2020-10-20 20:09:58 +02:00
2020-10-25 13:31:19 +01:00
## Build from source
2020-10-20 20:09:58 +02:00
2020-10-25 13:31:19 +01:00
### Prerequisites
2020-10-20 20:09:58 +02:00
2020-10-25 13:31:19 +01:00
- Install [flutter](https://flutter.dev/docs/get-started/install): To check if this step was successful run `flutter doctor` (Installing android studio is not required if you setup the android SDK yourself)
- Clone this repo: `git clone https://github.com/krawieck/lemmur`
- Enter the repo: `cd lemmur`
2020-10-20 20:09:58 +02:00
2020-10-25 13:31:19 +01:00
### Android
1. Build: `flutter build apk`
The apk will be in `build/app/outputs/flutter-apk/app-release.apk`
### Linux
2020-10-28 00:00:27 +01:00
1. Make sure you have the additional [linux requirements](https://flutter.dev/desktop#additional-linux-requirements) (verify with `flutter doctor`)
2020-10-25 13:31:19 +01:00
2. Switch to dev channel of flutter:
```sh
flutter channel dev
flutter upgrade
flutter config --enable-linux-desktop
```
3. Build: `flutter build linux`
The executable will be in `build/linux/release/bundle/lemmur` (be aware, however, that this executable is not standalone)
2020-10-28 00:00:27 +01:00
### Windows
1. Make sure you have the additional [windows requirements](https://flutter.dev/desktop#additional-windows-requirements) (verify with `flutter doctor`)
2. Switch to dev channel of flutter:
```sh
flutter channel dev
flutter upgrade
flutter config --enable-windows-desktop
```
3. Build: `flutter build windows`
The executable will be in `build\windows\runner\Release\lemmur.exe` (be aware, however, that this executable is not standalone)