This project is currently under development and not yet ready for use in any environments.
- Linux support (Windows and macOS untested)
- User authentication
- Downloading, uploading, and replacing files
- Create a
.env
file in the workspace directory, with the following variables:
# client
DATABASE_URL=sqlite://cloud-desktop/sync.db # only required for client builds
# api
API_DATABASE_URL=mongodb://root:yourmongopassword@localhost:27017
API_ENDPOINT=[::1]:50051
API_USER_STORAGE_QUOTA=1073741824 # 10 GiB
# docker
DOCKER_MONGO_USER=root
DOCKER_MONGO_PWD=yourmongopassword
- If you don't have a mongodb server running, use this command:
# docker and docker-compose must be installed on your system
# a new mongodb server will be set up with the .env credentials
docker-compose up -d
- Start the api server:
cargo run --bin cloud-api
- Open the client:
cargo run --bin cloud-desktop