![]() ![]() 2- Add under the following line under the assets group.īelow is a sample Gemfile with all commented out gems removed. Gem 'locomotive_cms', '~> 2.5.6', :require => 'locomotive/engine' We need to make two changes to the `Gemfile`. `-skip-bundle` let's Rails know not to immediately run `bundle install` as we will be editing our Gemfile.Ĭhange into the newly created project directory.Ĭ:\Users\your_name\Documents> cd acme_cms These options respectively tell rails not to install ActiveRecord, unit test files, and the default JavaScript files. We used several skip options to remove unneeded modules. Change *acme_cms* to a name of your choosing.Ĭ:\Users\your_name\Documents> rails _3.2.16_ new acme_cms -skip-active-record -skip-test-unit -skip-javascript -skip-bundle Now change to a directory where you would like to create the Rails project that will host our LocomotiveCMS engine.Ĭ:\Bitnami\rubystack-1.9.3-22> cd \Users\your_name\DocumentsĬreate a new Rails project with the `rails new` command shown below. Open a new bitnami command prompt by selecting `All Programs \ Bitnami Ruby Stack \ Use Bitnami Ruby Stack` from the _Start Menu_.Ĭ:\Bitnami\rubystack-1.9.3-22> rails -v You should have Rails 3.2.x, but let's double check. When we installed Wagon, we setup the bitnami Ruby stack, which includes Ruby on Rails. We're will need mongoDB to be running later, so leave it running and minimize the command prompt window. You can close mongod at any time by pressing `Ctrl C`. MongoDB is now running and we can connect to your local mongoDB server, which runs on port 27017. Tue Mar 04 13:03:04.749 admin web console waiting for connections on port 28017 Tue Mar 04 13:03:04.749 waiting for connections on port 27017 % h2 Choose the appropriate guide for your operating system These guides assumed that you have already installed Wagon. ![]() The instructions below guide you through installing Engine on your local development machine. But you may wish to setup Engine on your local machine for testing purposes. In most cases, site development is done with Wagon and pushed to a production LocomotiveCMS Engine that serves the site to the world wide web. LocomotiveCMS Engine is the Ruby on Rails engine used to serve LocomotiveCMS sites in production. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |