Comments (6)
Unfortunately we only officially distribute the application as a container. You don't have to run it with Docker though; any OCI-compliant runtime will do the trick. And the container is only a couple MB.
We could distribute binaries as well, but they would have to keep track of the associated static HTML files next to the binary, which is kind of annoying. There's also the problem that building multi-platform binaries is kind of messy and requires cross-compilation to automate.
from rustpad.
As a non programmer/ developer I would need a short readme to get it installed without docker
Is this something you can provide?
Don't get me wrong, I'm not opposed to docker, it's just Im invested in proxmox LCXs so makes no sense to spin up an entire VM to host docker to then host rustpad.
I can quickly spin up a LXC in 5 seconds, with a little readme should be able to install rustpad and whatever else I'd like In the LXC like tailscale so I can share rustpad with anyone I choose
from rustpad.
If you're on Linux, then the easiest way to get the files for Rustpad would be to just extract them from the Docker image. There are instructions for building from source in the README (and there's obviously the Dockerfile as well, which is pretty straightforward), but that would likely take longer for you.
You can do something like this StackOverflow answer.
id=$(docker create ekzhang/rustpad)
docker cp $id:/ rustpad
docker rm -v $id
Then in the rustpad/
folder you'll have the rustpad-server
binary (statically linked to musl libc) and associated static files folder dist
. You can ignore the rest of the files; they're procfs / sys and other Linux junk.
from rustpad.
An alternative set of commands that doesn't depend on a running Docker daemon (uses OCI images directly instead) and doesn't generate the procfs junk that docker cp
does:
sudo apt-get update
sudo apt-get -y install skopeo umoci
skopeo copy docker://ekzhang/rustpad oci:rustpad-layers:latest
mkdir rustpad && umoci raw unpack --rootless --image rustpad-layers:latest rustpad
rm -rf rustpad-layers
This generates:
$ ls -l rustpad
total 13688
drwxr-xr-x 3 ubuntu ubuntu 4096 Feb 19 15:55 dist
-rwxr-xr-x 1 ubuntu ubuntu 14010192 Feb 19 16:07 rustpad-server
from rustpad.
skopeo is not found in the ubuntu 20.04 repo
from rustpad.
It's in Ubuntu 22.04. You can find installation instructions on the skopeo repository. If you don't want to use skopeo, you can use any other container management tool.
Unfortunately I'm not able to provide technical support for all installation issues, please keep the issues tracker for bugs!
from rustpad.
Related Issues (20)
- Seeing two cursors when more than one user is connected HOT 2
- Zero-knowledge server HOT 1
- Lapce integration HOT 1
- Record a code editing HOT 2
- Support for authentication? HOT 2
- Font size setting HOT 1
- Announcement: engineer-man/piston integration for code compilation/execution HOT 1
- Is it possible to run rustpad on redox-os? HOT 2
- Support for Notion-like comments? HOT 1
- Problems running on Azure VM HOT 2
- Docker build fails HOT 9
- Configuration option for Sqlite retention period?
- UI: Minimize sidebar/toggle HOT 3
- Editor: word wrap option
- Collaborative editing of local file? HOT 2
- Any way to integrate with oauth2? HOT 1
- Spell Checking HOT 8
- Feature request: Add an option to bypass loading monaco's resources from cdn
- URL constructor: rustpad_wasm_bg.wasm is not a valid URL.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rustpad.