mirror of
https://github.com/jech/galene.git
synced 2024-11-24 01:25:58 +01:00
Move quick start instructions to README.
This commit is contained in:
parent
e9acdf9677
commit
99b09c0f19
2 changed files with 21 additions and 18 deletions
23
INSTALL
23
INSTALL
|
@ -1,17 +1,6 @@
|
||||||
# Installation instructions
|
# Installation instructions
|
||||||
|
|
||||||
## Quick installation
|
## Build the `galene` binary
|
||||||
|
|
||||||
CGO_ENABLED=0 go build -ldflags='-s -w'
|
|
||||||
mkdir groups
|
|
||||||
echo '{"presenter": [{}]}' > groups/test.json
|
|
||||||
./galene &
|
|
||||||
|
|
||||||
Then connect to `https://localhost:8443` and choose "test".
|
|
||||||
|
|
||||||
## Full installation instructions
|
|
||||||
|
|
||||||
### Build the `galene` binary
|
|
||||||
|
|
||||||
Do:
|
Do:
|
||||||
|
|
||||||
|
@ -23,7 +12,7 @@ On Windows, do
|
||||||
go build -ldflags="-s -w"
|
go build -ldflags="-s -w"
|
||||||
|
|
||||||
|
|
||||||
### Set up a group
|
## Set up a group
|
||||||
|
|
||||||
Set up a group called *test* by creating a file `groups/test.json`:
|
Set up a group called *test* by creating a file `groups/test.json`:
|
||||||
|
|
||||||
|
@ -40,7 +29,7 @@ You may use the following definition:
|
||||||
See the README file for more details about defining groups.
|
See the README file for more details about defining groups.
|
||||||
|
|
||||||
|
|
||||||
### Test locally
|
## Test locally
|
||||||
|
|
||||||
./galene &
|
./galene &
|
||||||
|
|
||||||
|
@ -49,7 +38,7 @@ to the group that you have just set up in two distinct browser windows,
|
||||||
then press *Ready* in one of the two; you should see a video in the other.
|
then press *Ready* in one of the two; you should see a video in the other.
|
||||||
|
|
||||||
|
|
||||||
### Configure your server's firewall
|
## Configure your server's firewall
|
||||||
|
|
||||||
If your server has a global IPv4 address and there is no firewall, there
|
If your server has a global IPv4 address and there is no firewall, there
|
||||||
is nothing to do.
|
is nothing to do.
|
||||||
|
@ -72,7 +61,7 @@ Galène's command line, where `203.0.113.1` is your NAT's external (global)
|
||||||
IPv4 address.
|
IPv4 address.
|
||||||
|
|
||||||
|
|
||||||
### Cross-compile for your server
|
## Cross-compile for your server
|
||||||
|
|
||||||
This step is only required if your server runs a different OS or has
|
This step is only required if your server runs a different OS or has
|
||||||
a different CPU than your build machine.
|
a different CPU than your build machine.
|
||||||
|
@ -98,7 +87,7 @@ For a 32-bit MIPS board with no hardware floating point (WNDR3800, etc.):
|
||||||
CGO_ENABLED=0 GOOS=linux GOARCH=mips GOMIPS=softfloat go build -ldflags='-s -w'
|
CGO_ENABLED=0 GOOS=linux GOARCH=mips GOMIPS=softfloat go build -ldflags='-s -w'
|
||||||
|
|
||||||
|
|
||||||
### Deploy to your server
|
## Deploy to your server
|
||||||
|
|
||||||
Set up a user *galene* on your server, then do:
|
Set up a user *galene* on your server, then do:
|
||||||
|
|
||||||
|
|
16
README
16
README
|
@ -4,7 +4,21 @@ moderate server resources. It is described at <https://galene.org>.
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
See the file INSTALL in this directory for installation instructions.
|
Quick start:
|
||||||
|
|
||||||
|
git clone https://github.com/jech/galene
|
||||||
|
cd galene
|
||||||
|
CGO_ENABLED=0 go build -ldflags='-s -w'
|
||||||
|
mkdir groups
|
||||||
|
echo '{"users": {"bob": {"password":"secret", "permissions":"op"}}}' > \
|
||||||
|
groups/example.json
|
||||||
|
./galene &
|
||||||
|
|
||||||
|
Point your browser at <https:/localhost:8443/group/example/>, ignore the
|
||||||
|
unknown certificate warning, and log in with username "bob" and password
|
||||||
|
"secret".
|
||||||
|
|
||||||
|
See the file INSTALL in this directory for full installation instructions.
|
||||||
|
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
|
Loading…
Reference in a new issue