mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-25 17:26:18 -04:00
Integrates docker.
This commit is contained in:
parent
993b484396
commit
f418dc26b8
5 changed files with 53 additions and 74 deletions
18
README.md
18
README.md
|
@ -43,21 +43,15 @@ ShareDrop uses WebRTC only and isn't compatible with Safari browsers. Snapdrop u
|
|||
* Do security analysis and suggestions
|
||||
|
||||
## Local Development
|
||||
```
|
||||
git clone git@github.com:RobinLinus/snapdrop.git
|
||||
cd snapdrop/server
|
||||
npm install
|
||||
node index.js
|
||||
[Install docker with docker-compose.](https://docs.docker.com/compose/install/)
|
||||
|
||||
# open a second shell:
|
||||
cd snapdrop/client
|
||||
# Python 2
|
||||
python -m SimpleHTTPServer
|
||||
# Python 3
|
||||
python3 -m http.server
|
||||
```
|
||||
git clone git@github.com:pa7ryk/snapdrop.git
|
||||
cd snapdrop
|
||||
docker-compose up
|
||||
```
|
||||
|
||||
Now point your browser to http://localhost:8000.
|
||||
Now point your browser to http://localhost:8080.
|
||||
|
||||
## Deployment Notes
|
||||
The client expects the server at http(s)://your.domain/server.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue