Permalink
Browse files

A few string updates (initenv -> init)

  • Loading branch information...
jammi committed Dec 1, 2010
1 parent 5bfc823 commit bf57b77538f92e2b17bd0c75a7f8b8f75aa52b38
Showing with 16 additions and 16 deletions.
  1. +8 −8 INSTALL.rdoc
  2. +3 −3 README.rdoc
  3. +2 −2 docs/ExampleGuiPlugin.rdoc
  4. +2 −2 setup/welcome/info.yaml
  5. +1 −1 setup/welcome/text/welcome.html
View
@@ -64,7 +64,7 @@ Replace the +\my_projects+ path with the path to the directory where you want to
* In the command prompt, run:
cd \my_projects
rsence initenv my_project
rsence init my_project
* Answer the questions
* In the command prompt, run:
rsence run my_project
@@ -128,7 +128,7 @@ This not only enables SessionStorage (persistent sessions between RSence restart
* A Sequel driver for your preferred database is also needed:
* *sqlite3-ruby*:: SQLite[http://www.sqlite.org] is a light-weight SQL library. Recommended for development and small projects.
* Other database adapters compatible with Sequel are fine. Just configure RSence accordingly.
* *highline*:: Console-based menu prompt system by the initenv command.
* *highline*:: Console-based menu prompt system by the init command.
* rmagick
* Optional, but suggested, because RSence has RMagick -savvy features, like serving RMagick objects using tickets that are rendered only when requested.
* Some plugins depend on it directly.
@@ -157,20 +157,20 @@ When installed, ensure it works by exploring the help of the 'rsence' command, l
rsence help
rsence help version
rsence help run
rsence help initenv
rsence help init
etc..
=== 3.2. Setting up
==== 3.2.1. Creating a RSence project environment
To set up an environment for your RSence project, use the initenv command. In this example '/home/me/projects' is assumed as your project directory. Replace that with a path that matches your own environment. The RSence project directory must either be empty or will be created automatically.
rsence initenv /home/me/projects/my_first_rsence_project
To set up an environment for your RSence project, use the init command. In this example '/home/me/projects' is assumed as your project directory. Replace that with a path that matches your own environment. The RSence project directory must either be empty or will be created automatically.
rsence init /home/me/projects/my_first_rsence_project
To see the options of the initenv command, use
rsence help initenv
To see the options of the init command, use
rsence help init
By default, initenv asks a few simple questions to write your configuration file. Just press enter, if you want to keep the suggested default options.
By default, init asks a few simple questions to write your configuration file. Just press enter, if you want to keep the suggested default options.
The questions are:
* Project Title
View
@@ -1,5 +1,5 @@
= RSence-2.0.0[http://rsence.org/]
= RSence-2.1.0[http://rsence.org/]
== Introduction
@@ -17,8 +17,8 @@ Just run this command in the shell, if you have ruby installed. Otherwise, read
== Initializing a new project
The +initenv+ command will cretate a directory called `env_dir` in this example. It asks a few questions about the environment. Use a path and project name that matches your purposes.
rsence initenv /home/me/rsence_projects/env_dir
The +init+ command will cretate a directory called `env_dir` in this example. It asks a few questions about the environment. Use a path and project name that matches your purposes.
rsence init /home/me/rsence_projects/env_dir
== Project environment structure
@@ -1,6 +1,6 @@
= Example: The "welcome" GUIPlugin bundle
This bundle is installed by default for each new RSence project environment, when created by the +rsence initenv+ command. It displays a simple user interface that contains a congratulatory message of a successful setup. Feel free to experiment with the plugin in your project environment.
This bundle is installed by default for each new RSence project environment, when created by the +rsence init+ command. It displays a simple user interface that contains a congratulatory message of a successful setup. Feel free to experiment with the plugin in your project environment.
=== File / directory structure
This is just an example, the meaning of gui/
@@ -28,7 +28,7 @@ A brief description of the package
!!!yaml
description: |
This is a simple welcome message plugin. It's installed in new project
environments, when the rsence initenv in executed.
environments, when the rsence init in executed.
You may safely remove this plugin bundle.
System version requirements. In this case "RSence 2.0.0 or newer"
View
@@ -3,11 +3,11 @@
title: Welcome message
# The human-readable version of the package
version: 1.0.1
version: 1.0.2
# A brief description of the package (rdoc formatting supported)
description: |
This is a simple welcome message plugin. It's installed in new project
environments, when the rsence initenv in executed.
environments, when the rsence init in executed.
You may safely remove this plugin bundle.
@@ -2,7 +2,7 @@
<div style="margin-left:40px;margin-top:140px;margin-right:20px">
<h1>Congratulations!</h1>
<p>This message is served to you by RSence running in your new environment.</p>
<p>The next time you create an RSence environment, use the <code>--blank</code> option of the <code>rsence&nbsp;initenv</code> command to avoid this message.</p>
<p>The next time you create an RSence environment, use the <code>--blank</code> option of the <code>rsence&nbsp;init</code> command to avoid this message.</p>
<p>Use the <code>rsence help</code> command to learn more about the <code>rsence</code> command-line tool and its various commands and options.</p>
<p>You may want to install or write some software to run in your new RSence environment next.</p>
<p>Go to <a href="http://rsence.org/">rsence.org</a> to learn more about RSence.</p>

0 comments on commit bf57b77

Please sign in to comment.