1
0
mirror of https://github.com/krawieck/lemmur/ synced 2024-12-13 00:56:13 +01:00
lemmur-app-android/README.md
2020-12-04 13:22:42 +00:00

2.4 KiB

style: effective dart

lemmur

A mobile client for lemmy - a federated reddit alternative

Buy Me A Coffee

Build from source

Prerequisites

  • Install flutter: 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

Android

  1. Build: flutter build apk

The apk will be in build/app/outputs/flutter-apk/app-release.apk

Linux

  1. Make sure you have the additional linux requirements (verify with flutter doctor)
  2. Switch to dev channel of flutter:
    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)

Windows

  1. Make sure you have the additional windows requirements (verify with flutter doctor)
  2. Switch to dev channel of flutter:
    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)