A ready to deploy LocomotiveCMS package.
If you want to run LocomotiveCMS without setting up a server, check out LocomotiveHosting, a first class hosting solution from the team behind LocomotiveCMS. This also supports the development of LocomotiveCMS.
The team behind LocomotiveCMS for creating LocomotiveCMS.
At Bitaculous we use the following stack to run LocomotiveCMS, that's why this package is made for:
Unpack the file
Install all dependencies with Bundler
$ bundle install
Create the application configuration
Copy resources/config/application.yml to
config/application.ymland adjust properly
That's it, LocomotiveCMS should run on.
rspec bin stub to run the specs:
or via Guard:
$ guard -g spec
Spring (Rails application preloader)
$ ./bin/spring status $ ./bin/spring rspec $ ./bin/spring start $ ./bin/spring stop
Copy resources/config/deploy.rb to
config/deploy.rband adjust properly
Copy resources/config/environments/sample.rb to
config/environments/<stage>.rband adjust properly
Copy resources/config/deploy/sample.rb to
config/deploy/<stage>.rband adjust properly
Copy resources/config/unicorn/sample.rb to
config/unicorn/<stage>.rband adjust properly
releasesdirectory on stage
$ cap <stage> deploy:check:directories
Copy configurations to stage
Check that the required files and directories exist on stage
$ cap <stage> deploy:check
Adjust LocomotiveCMS initializer (config/initializers/locomotive.rb).
Check-in and push your changes
cap <stage> deployto deploy a new version to the specified stage
$ cap <stage> unicorn:start
Stop Unicorn (QUIT)
$ cap <stage> unicorn:stop
Restart Unicorn (USR2 + QUIT)
$ cap <stage> unicorn:restart
Clear sessions, cache, and socket files
$ cap <stage> cake task=tmp:clear
$ cap <stage> cake task=tmp:sessions:clear
$ cap <stage> cake task=tmp:cache:clear
$ cap <stage> cake task=tmp:sockets:clear
Take a look at resources/config/nginx/sample.conf as an inspiration on how to configure Nginx.
Github Issues are used for managing bug reports and feature requests. If you run into issues, please search the issues and submit new problems here.
This project aims to adhere to Semantic Versioning 2.0.0. Violations of this scheme should be reported as bugs. Specifically, if a minor or patch version is released that breaks backward compatibility, that version should be immediately yanked and / or a new version should be immediately released that restores compatibility.