mirror of
https://github.com/oxen-io/session-android.git
synced 2025-04-19 03:21:30 +00:00
Update BUILDING.md
This commit is contained in:
parent
342e22d692
commit
547a8bd000
26
BUILDING.md
26
BUILDING.md
@ -1,21 +1,21 @@
|
|||||||
Building Signal
|
Building Session
|
||||||
===============
|
===============
|
||||||
|
|
||||||
Basics
|
Basics
|
||||||
------
|
------
|
||||||
|
|
||||||
Signal uses [Gradle](http://gradle.org) to build the project and to maintain
|
Session uses [Gradle](http://gradle.org) to build the project and to maintain
|
||||||
dependencies. However, you needn't install it yourself; the
|
dependencies. However, you needn't install it yourself; the
|
||||||
"gradle wrapper" `gradlew`, mentioned below, will do that for you.
|
"gradle wrapper" `gradlew`, mentioned below, will do that for you.
|
||||||
|
|
||||||
Building Signal
|
Building Session
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
The following steps should help you (re)build Signal from the command line.
|
The following steps should help you (re)build Session from the command line.
|
||||||
|
|
||||||
1. Checkout the Signal-Android project source with the command:
|
1. Checkout the session-android project source with the command:
|
||||||
|
|
||||||
git clone https://github.com/signalapp/Signal-Android.git
|
git clone https://github.com/loki-project/session-android.git
|
||||||
|
|
||||||
2. Make sure you have the [Android SDK](https://developer.android.com/sdk/index.html) installed.
|
2. Make sure you have the [Android SDK](https://developer.android.com/sdk/index.html) installed.
|
||||||
3. Ensure that the following packages are installed from the Android SDK manager:
|
3. Ensure that the following packages are installed from the Android SDK manager:
|
||||||
@ -41,8 +41,8 @@ Source assets tend to be large binary blobs, which are best stored outside of gi
|
|||||||
Sample command for generating our audio placeholder image:
|
Sample command for generating our audio placeholder image:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pngs_from_svg.py ic_audio.svg /path/to/Signal/res/ 150 --color #000 --opacity 0.54 --suffix _light
|
pngs_from_svg.py ic_audio.svg /path/to/Session/res/ 150 --color #000 --opacity 0.54 --suffix _light
|
||||||
pngs_from_svg.py ic_audio.svg /path/to/Signal/res/ 150 --color #fff --opacity 1.00 --suffix _light
|
pngs_from_svg.py ic_audio.svg /path/to/Session/res/ 150 --color #fff --opacity 1.00 --suffix _light
|
||||||
```
|
```
|
||||||
|
|
||||||
Setting up a development environment
|
Setting up a development environment
|
||||||
@ -55,7 +55,7 @@ Setting up a development environment
|
|||||||
3. From the Quickstart panel, choose "Configure" then "SDK Manager".
|
3. From the Quickstart panel, choose "Configure" then "SDK Manager".
|
||||||
4. In the SDK Tools tab of the SDK Manager, make sure that the "Android Support Repository" is installed, and that the latest "Android SDK build-tools" are installed. Click "OK" to return to the Quickstart panel.
|
4. In the SDK Tools tab of the SDK Manager, make sure that the "Android Support Repository" is installed, and that the latest "Android SDK build-tools" are installed. Click "OK" to return to the Quickstart panel.
|
||||||
5. From the Quickstart panel, choose "Checkout from Version Control" then "git".
|
5. From the Quickstart panel, choose "Checkout from Version Control" then "git".
|
||||||
6. Paste the URL for the Signal-Android project when prompted (https://github.com/signalapp/Signal-Android.git).
|
6. Paste the URL for the session-android project when prompted (https://github.com/loki-project/session-android.git).
|
||||||
7. Android studio should detect the presence of a project file and ask you whether to open it. Click "yes".
|
7. Android studio should detect the presence of a project file and ask you whether to open it. Click "yes".
|
||||||
9. Default config options should be good enough.
|
9. Default config options should be good enough.
|
||||||
9. Project initialisation and build should proceed.
|
9. Project initialisation and build should proceed.
|
||||||
@ -64,11 +64,3 @@ Contributing code
|
|||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
Code contributions should be sent via github as pull requests, from feature branches [as explained here](https://help.github.com/articles/using-pull-requests).
|
Code contributions should be sent via github as pull requests, from feature branches [as explained here](https://help.github.com/articles/using-pull-requests).
|
||||||
|
|
||||||
Mailing list
|
|
||||||
------------
|
|
||||||
|
|
||||||
Development discussion happens on the whispersystems mailing list.
|
|
||||||
[To join](https://lists.riseup.net/www/info/whispersystems)
|
|
||||||
Send emails to whispersystems@lists.riseup.net
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user