ssbc / patchbay

An alternative Secure Scuttlebutt client interface that is fully compatible with Patchwork
http://www.scuttlebutt.nz
386 stars 78 forks source link

Run multiple different configurations #327

Closed mixmix closed 5 years ago

mixmix commented 5 years ago

Problem

At the moment when you launch Patchbay, you're launched into the main scuttlebutt network. If you know how to edit config files and run some command-line scripts you can start into an Alt net.

We've recently had interest from an indigenous community that would like to experiment with Alt nets, but command line stuff is not accessible enough for their group.

Requirements

  1. see which different configs you have (or create new ones)
    • e.g. ssb (default), hackerspace, naarm
  2. select one of these and edit its config
    • e.g. change the port it runs one, and network it's running on (caps.shs)
  3. launch Patchbay using the selected config.

I've already been doing work improving onboarding. I think the work I've done with ssb-ahoy (which allows a series of "pre-apps" to be run before the main app is launched) will make this work pretty accessible.

mixmix commented 5 years ago

Design

Currently we've got 3 steps to ssb-ahoy

  1. Follow a local peer + replicate

  2. Process what you've heard (indexing database)

    image

  3. Launching Patchbay

I think we want to add a "step 0: Pick a config". Here's a very rough sketch of what it might look like :

image

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 500.0 DAI (500.0 USD @ $1.0/DAI) attached to it.

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 2 months, 1 week from now. Please review their action plans below:

1) mixmix has been approved to start work.

I'd take the work I've already done on ssb-ahoy, and add screen which allow you to pick a config (and modify it) before launching any server processes (See issue for designs I've drawn up)

Learn more on the Gitcoin Issue Details page.

mixmix commented 5 years ago

I made a start on this yesterday. have almost got a very very basic start point ready. It's going to need a bit more wiring changes than anticipated but I'm excited with how it's going

Work is being pushed here https://github.com/ssbc/patchbay/pull/316

mixmix commented 5 years ago

Selection_334

coming along really well. Things seems fairly stable, I'm moving towards pollishing

mixmix commented 5 years ago

this is ready to go !!!

Selection_336

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 500.0 DAI (500.0 USD @ $1.0/DAI) has been submitted by:

  1. @mixmix

@ceresstation please take a look at the submitted work:


mixmix commented 5 years ago

I'm closing this as the work has been merged and installers have been published

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


The funding of 500.0 DAI (500.0 USD @ $1.0/DAI) attached to this issue has been approved & issued to @mixmix.