rule110-io / surge

Surge is a p2p filesharing app designed to utilize blockchain technologies to enable 100% anonymous file transfers. Surge is end-to-end encrypted, decentralized and open source.
https://getsurge.io
Apache License 2.0
428 stars 50 forks source link

makefile that might be useful for others #84

Closed gedw99 closed 2 years ago

gedw99 commented 2 years ago

just a make file you can drop into root to make it easier for people to get going.


# https://github.com/rule110-io/surge

print:

all: f-build b-build

dep-os:
    # wails cli. TODO. modify to correct version as needed
    go install github.com/wailsapp/wails/v2/cmd/wails@latest

f-build:
    cd frontend && npm install
    cd frontend && npm run build
f-server:
    cd frontend && npm serve

b-doctor:
    wails doctor
b-dev:
    wails dev
b-serve:
    wails serve
b-build:
    wails build
b-dist:
    # mac in this case
    wails build -platform darwin/arm64 -clean
gedw99 commented 2 years ago

Got it workng.

I had to create a new channel, as it would not let me upload to the official surge channel.. SO i created a new channel ("gedw99") and upload an image and video sample

Screenshot 2022-02-14 at 14 41 48

MutsiMutsi commented 2 years ago

Thank you for this! Could you turn this into a PR?