Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
Nextcloud Notify Push
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eduardo Trujillo
Nextcloud Notify Push
Commits
4abbfdb9
Commit
4abbfdb9
authored
4 years ago
by
Robin Appelman
Browse files
Options
Downloads
Patches
Plain Diff
add some build instructions
parent
15c2398a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+20
-0
20 additions, 0 deletions
README.md
with
20 additions
and
0 deletions
README.md
+
20
−
0
View file @
4abbfdb9
...
...
@@ -242,3 +242,23 @@ the [github actions](https://github.com/nextcloud/notify_push/actions) page.
```bash
test_client https://cloud.example.com username password
```
### Building
The server binary is built using rust and cargo.
- Install `
rust
` trough your package manager or [rustup](https://rustup.rs/)
- Run `
cargo build
`
Any build intended for production use or distribution
should be compiled in release mode for optimal performance and targeting musl libc for improved portability.
```bash
cargo build --release --target=x86_64-unknown-linux-musl
```
Cross compiling for other platform is done easiest using [`
cross
`](https://github.com/rust-embedded/cross), for example:
```bash
cross build --release --target=aarch64-unknown-linux-musl
``
`
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment