Beast is the spiffing new forum software from those two terribly clever chaps Josh Goebel and Rick Olson. Rick is already responsible for a very useful Ruby on Rails plug-in called acts_as_versioned and the very promising Mephisto blogweight CMS while Josh has a Rails Wiki called ServerSideWiki under his belt plus the rather useful Pastie.
The aim of Beast is to be a small and straightforward Ruby on Rails forum in less than 500 lines of code. It's up to 432 at the moment but seems about ready to go.
So, first problem, to get Beast installed on my Windows laptop development machine.
Step 1. svn checkout http://svn.techno-weenie.net/projects/beast/trunk/
You'll probably use Tortoise of course, but you're going to need SVN in line mode shortly.
Step 2. Bring up one of those terribly old-fashioned looking command shells (Start -> Run -> cmd.exe) and go to your new beast folder. Then: rake freeze_edge (我这里是使用的是ruby 1.8.6,Rails 1.2.3,freeze_edge已经不被推荐使用,这里用rake rails:freeze:edge代替)
This is needed as Beast uses some of the features in the 'edge' version of Rails, i.e. the version that hasn't been formally released yet. The main thing it appears to use is the new RESTful routing, of which more some other time. This command will need svn to be in the path so you may need to append "C:\Program Files\Subversion\bin" to the end of the current path.
Step 3. gem install RedCloth
RedCloth is the Ruby implementation of Textile, a natty text format that can edited easily and translated to and from HTML.
Step 4: Set up the database. Grab 'database.example.yml' from the config folder and reformat it for whatever database you're planning to use. Beast seems to prefer SQLite 2, so I'm going to use that. So all I'm doing is renaming 'database.example.yml' to 'database.yml'.
If you don't already have SQLite there are two intermediate steps:
Step 4a: Download SQLite 2 from the SQLite download page and drop the exe, dll and def files in c:\ruby\bin. Instructions of a sort are on this HowtoUseSQLite page.
Step 4b: Install the ruby library for sqlite: gem install sqlite-ruby. Matt Griffith has made this feel a lot easier.(如果前面拷贝的是sqlite3文件,这里也要安装sqlite3-ruby。 gem install sqlite3-ruby)
Then, at last: rake db:schema:load
Step 5: ruby script/server
This will start WEBrick on port 3000 so you can now access Beast on http://localhost:3000/.
最后附上sqlite的图形化管理工具(SQLite Database browser ):http://sourceforge.net/projects/sqlitebrowser/
相关推荐
使用方法:1)安装$ wget https://codeload.github.com/liexusong/php-beast/zip/php7$ unzip php-beast-php7.zip$ cd php-beast-php7$ phpize$ ./configure$ sudo make && make install2)修改php.ini 添加配置:...
1)安装 $ wget https://github.com/liexusong/php-beast/archive/master.zip $ unzip master.zip $ cd php-beast-master $ phpize $ ./configure $ make $ sudo make install 2)修改php.ini 添加...
资源分类:Python库 所属语言:Python 资源全名:beast2-xml-1.0.11.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
php代码加密扩展 完安装php-beast后可以使用tools目录下的encode_files.php来加密你的项目使用。encode_files.php之前先修改tools目录下的configure.ini文件
野兽谎言马尔科夫Beast 2 插件实现了 DNA 进化的杰出配对 Lie Markov 模型有关模型的描述和讨论,请参阅论文 ( )“与异质替代率一致的系统发育模型的新层次结构”,作者:Michael D. Woodhams、Jesús Fernández-S...
使用方法:1)安装$ wget https://codeload.github.com/liexusong/php-beast/zip/php7$ unzip php-beast-php7.zip$ cd php-beast-php7$ phpize$ ./configure$ sudo make && make install2)修改php.ini 添加配置:...
用法安装 curl --location -O https://github.com/HarryPehkonen/beast例子 $beast = new Beast('./');$content = $beast->render('template.php', $data);echo $content;另请参阅此存储库中的 example.php 和 ...
PHP源码加密工具(php-beast)php7版主要支持PHP7,选择php7分支然后编译安装即可。 使用方法: 1)安装 $ wget https://codeload.github.com/liexusong/php-beast/zip/php7 $ unzip php-beast-php7.zip $ cd ...
依存关系在开发人员或生产环境中运行Argo Navis之前,必须安装许多依赖项: BEAST2和BEAST_CLASSIC包协议R和以下库RColorBrewer ggplot2 表argparse python和以下库阿尔克斯特生物蟒活检麻木csvkit svg_stack.py ...
如果安装了则将使用 ,建议使用 ,因为它会产生更好的输出,但无需使用它。 实现了命令行帮助(使用-h参数运行脚本)。 第二个脚本(MPCTree.py)用于根据ModifyXML.py使BEAST生成的额外.net.txt文件(记录传输树)...
驯服是使用Beast.js和Stylus进行UI原型制作的环境。 安装 安装模块npm install -g taming 创建工作目录mkdir mydir && cd mydir 初始化taming init 开始taming start 从命令行使用 指令 $ taming init工作目录的...
资源分类:Python库 所属语言:Python 资源全名:beast2bpp-0.10.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
C++网络编程 - Boost::asio异步网络编程 - 01- boost库源码编译安装-附件资源
它通过一个简单的 UI 为 Unity 的集成 Autodesk Beast 光照贴图提供所有兼容的 XML 配置选项。 Unity 内置光照贴图设置中最显着的新增功能是基于图像的光照、 Path Tracer GI和Monte Carlo GI 。 安装 要将 ...
语言:English 野兽男孩决定使用他的头! hello,我已经延伸了,当你点击它时,它显示了一个有趣的“野兽男孩用他的头”GIF!... 通过安装此扩展,您同意从创建者接收通知,例如更新,提醒和更有趣的事情!
ubuntu18、20测试通过。 可以在顶上任务栏显示各种资源使用情况,比如cpu、内存、...可以用sudo dpkg -i 文件名.deb来安装,也可以直接双击安装。 基于python开发的,有兴趣可以自己修改里面代码来实现自己想要的功能。
如何使用:-通过单击添加到Chrome按钮安装此扩展程序,它将自动添加。 加载扩展程序时,请等待几秒钟,然后执行最佳操作! -在左上角,“齿轮”。 这将加载设置面板,您可以在其中使用切换按钮来打开或关闭功能。 ...
野兽香草 必须运行“ mongod”。 易于通过自制程序安装。 可能只需要创建一个/ data / db目录和chmod 777即可授予写权限。 ./gradlew运行
野兽模式刺激反射服务器端呈现的多面搜索UI演示,具有和 。安装捆绑安装纱线安装箱/设置依存关系确保通过REDIS_URL环境变量配置了Postgres和Redis设置。