ruby_on_rails
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ruby_on_rails [2021/03/15 02:28] – created peteyboy | ruby_on_rails [2021/03/15 18:36] (current) – change to 'uid' from 'uid -u' peteyboy | ||
---|---|---|---|
Line 8: | Line 8: | ||
* You must be a MetaARPA member to use Rails (see [[http:// | * You must be a MetaARPA member to use Rails (see [[http:// | ||
+ | * You should figure out your [[meta port allocation| allocated port]] in the metaarray | ||
* Most Rails applications use a database, so you'll probably want dba membership as well (see [[http:// | * Most Rails applications use a database, so you'll probably want dba membership as well (see [[http:// | ||
===== Getting started ===== | ===== Getting started ===== | ||
- | **Step 1:** Run " | + | **Step 1:** Run " |
**Step 2:** Use the rails command to construct the base for your new rails application: | **Step 2:** Use the rails command to construct the base for your new rails application: | ||
Line 95: | Line 96: | ||
**step 3:** | **step 3:** | ||
- | Start the webrick server on the port **that is equal to your uid**, which you can obtain by executing | + | Start the webrick server on your [[meta |
- | $ id -u | + | $ id |
uid=< | uid=< | ||
Line 109: | Line 110: | ||
=> Ctrl-C to shutdown server; call with --help for options | => Ctrl-C to shutdown server; call with --help for options | ||
- | Then point your browser at "http:// | + | Then point your browser at ''< |
===== Hello, world of Rails! ===== | ===== Hello, world of Rails! ===== | ||
Line 162: | Line 163: | ||
- | [[http:// | + | [[http:// |
ruby_on_rails.1615775303.txt.gz · Last modified: 2021/03/15 02:28 by peteyboy