* fix wrong current lib logic * add delete lib dialog to LibraryGeneralSettings * add delete lib to mobile LibraryGeneralSettings too * onboarding screens * move zxcvbn to @sd/client * get started screen and bloom * merge fix * move generatePassword back to interface * add useZodForm to mobile and match react-hook-form versions * new lib screen * Implement styled api * create lib screen and some tweaks * password input * fix password meter comp * new library style tweaks * Fix remove password bug (interface) * master password screen * privacy screen * creating lib screen * hexagons are cool * Expo 48 * keyboard handling * fix P2P on IOS * fix types * asset script * new icons * Spacedrop screen * Fix mobile asset imports * fix import cycle warning * Edit Location Settings screen and style changes on other setting screens * fix library creating bug? hopefully lol * move PasswordMeter to interface --------- Co-authored-by: Oscar Beaumont <oscar@otbeaumont.me>
2.0 KiB
index
| index |
|---|
| 1 |
Environment Setup
To get started contributing to Spacedrive, follow this guide carefully.
This project uses Cargo and pnpm.
Installation
-
Clone repo
git clone https://github.com/spacedriveapp/spacedrive && cd spacedrive -
Run setup script
For Linux or MacOS users run:
./.github/scripts/setup-system.shThis will install FFmpeg and any other required dependencies for Spacedrive to build.
...or for Windows users run using PowerShell:
.\.github\scripts\setup-system.ps1This will install pnpm, LLVM, FFmpeg and any other required dependencies for Spacedrive to build. Ensure you run it like documented above as it expects it is executed from the root of the repository.
-
Install dependencies
pnpm i -
Run codegen & build required dependencies
pnpm prep
Running apps
- Desktop:
pnpm desktop dev - Landing:
pnpm landing dev - Server:
DATA_DIR=/path/to/library cargo run -p sdcore - Webapp:
pnpm web dev
::: slot note
When changing branches, make sure to run pnpm prep command right after. This ensures all the codegen is up to date.
:::
Mobile app
To run mobile app
- Install Android Studio for Android and Xcode for IOS development
./.github/scripts/setup-system.sh mobileThe should setup most of the dependencies for the mobile app to build.- You must also ensure you have NDK 23.1.7779620 and CMake in Android Studio
pnpm mobile android- runs on Android Emulatorpnpm mobile ios- runs on iOS Emulator
Troubleshooting
If you are having issues ensure you are using the following versions of Rust and Node:
- Rust version: 1.67.0
- Node version: 18