railst 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/README.md +29 -0
- data/exe/railst +9 -0
- data/lib/railst/cli.rb +742 -0
- data/lib/railst/environment.rb +65 -0
- data/lib/railst/templates.rb +503 -0
- data/lib/railst/terminal.rb +80 -0
- data/lib/railst/version.rb +5 -0
- data/lib/railst.rb +10 -0
- metadata +50 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 664b3b8d4db44f5d103ad5e55f0a3c21cf1656caf054196dbde9dcf1f2ec0808
|
|
4
|
+
data.tar.gz: 8c4829858987a562b87f035a42dd93451eeba1ea312dc62fc5dc78fceb32af80
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 6cf43b50d8f5d497975d5e9f20dea6aeaee2dd6f871c807f2960a81c49bcabfcf0c5b3d8e7d757bb13e836deebe586e00b530bcf5dd04cb6cdcac0e2aeca5f61
|
|
7
|
+
data.tar.gz: b53df00d4dd3bdab8889868edcb59cd7b6536ce6f718fb2798b35877ee47738a8752ead873afcf6d2991eeecefec58c711e5520db27a709fcc6ef911868895ae
|
data/README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# `railst` CLI
|
|
2
|
+
|
|
3
|
+
The official command-line interface and installer for the **Rust on Rails** framework.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
### Via RubyGems
|
|
8
|
+
```bash
|
|
9
|
+
gem install railst
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
### Via One-Line Shell Script
|
|
13
|
+
```bash
|
|
14
|
+
curl -fsSL https://raw.githubusercontent.com/HarmlessValve/Rust-on-Rails/main/install.sh | bash
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Quick Start
|
|
18
|
+
|
|
19
|
+
Create a new high-performance Rust on Rails application:
|
|
20
|
+
```bash
|
|
21
|
+
railst new my_app
|
|
22
|
+
cd my_app
|
|
23
|
+
railst s
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Diagnose your system compiler and hardware environment:
|
|
27
|
+
```bash
|
|
28
|
+
railst doctor
|
|
29
|
+
```
|