You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jaeha Choi 2423fdde5b
Merge commit '4896ea5de8e09c1d533461bf2b9e97eda9a8b4fc'
3 weeks ago
.github/workflows Fix CI and update go version 3 weeks ago
cmd/coconut_server Add command-line argument support 1 month ago
config Update config.yml structure 3 months ago
internal/server Fix CI and update go version 3 weeks ago
pkg Merge commit '4896ea5de8e09c1d533461bf2b9e97eda9a8b4fc' 3 weeks ago
testdata Fix CI and update go version 3 weeks ago
.gitignore Exclude .key and .crt 3 months ago
Readme.md Clarify installation section 3 weeks ago
go.mod Update module names 4 months ago
go.sum Update go.sum 3 months ago

Readme.md

Server for Project Coconut

CI codecov

What is Project Coconut

An open-source, cross-platform solution to share files between devices.

Installation

TODO: Update URL once the executable file is uploaded

  1. Change working directory to desired installation directory
    • cd /foo/bar/
  2. Download the executable file
    • Using curl: curl -OJ *url*
    • Using wget: wget *url*
  3. Make it executable
    • chmod +x *file_name*
  4. Create a folder and change the working directory
    • mkdir -p data/cert && cd data/cert
  5. Generate an RSA key
    • openssl genrsa -out server.key 4096
  6. To generate a self-signed certificate for a testing purpose, using the following command:
    • openssl req -new -x509 -sha256 -key server.key -out server.crt
  7. Change the working directory back to main installation directory
    • cd /foo/bar/
  8. Start the server
    • ./coconut_server *optional_arguments*

Build

TODO: Update build

Arguments

TODO: Update arguments