Skip to content

Commit 7474426

Browse files
authored
Merge pull request #3 from axzilla/dev
Final steps for pre-alpha release v.0.0.1
2 parents cdf1535 + 74f2e5f commit 7474426

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
11
# deeploy
22

3-
A modern deployment platform. Simple, fast, and developer-friendly.
3+
A simple, developer-friendly deployment platform (pre-alpha).
4+
5+
## Quick Start
6+
7+
```bash
8+
curl https://deeploy.sh/install.sh | sh
9+
```
10+
11+
## Status
12+
13+
This is a pre-alpha release focused on core installation functionality. The platform is under active development - stay tuned for upcoming features including:
14+
15+
- Application deployments
16+
- Container management
17+
- One-click installations
18+
- And more!
19+
20+
## Requirements
21+
22+
- Linux server (tested on Ubuntu 24.04)
23+
- Docker

internal/app/install/install.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
#!/bin/bash
2+
# Check if script is running as root by checking user ID
3+
if [ "$(id -u)" != "0" ]; then # id -u returns user ID, root is always 0
4+
echo "This script must be run as root" >&2 # Print to stderr (error output)
5+
exit 1 # Exit with error code 1 (non-zero = error)
6+
fi
27

38
# Get version from first argument or use 'latest' as default
49
VERSION=${1:-latest}

0 commit comments

Comments
 (0)