buffpojken / sprinkle-configuration Goto Github PK
View Code? Open in Web Editor NEWSetting up an entire rails-stack with choice between apache/nginx and svn/git.
Setting up an entire rails-stack with choice between apache/nginx and svn/git.
Overview ----------------------- The Sprinkle-recipe will set up a server with the following. 1. Build-essentials, which include gcc, make, o.s.v. 2. emacs 3. Ruby 1.8.6, patchlevel 369 - including Ruby dependencies 4. Rubygems 1.3.5 5. Rails 2.3.3 6. Gems -- Faker 7. Apache 2.2.13 or Nginx 0.7.61 8. Mongrel 1.1.5 with mongrel_cluster 1.0.5 or Thin 9. Mysql 10. Sphinx 0.9.8.1 with mysql_dev-packages 11. Git 1.6.3.3 or SVN 12. Imagemagick 13. Monit Installation Process ----------------------- This process will guide you from a barebones fresh install of Ubuntu (tested on Hardy Heron och Jaunty Jackalope) to a full-blow Rails-stack hosting solution. This script needs to run as root on the server, but please remember to disable the root-user afterwards! $ = Run this on your local machine # = Run this as root on the server 1. Install sprinkle; $ sudo gem install sprinkle 2. Download the recipe from http://github.com/buffpojken/Sprinkle-Configuration/tree 3. Move to the directory you just downloaded from github. $ cd PATH_TO_DIR 4. Ping the server to make sure you have the correct ip. $ ping IP_TO_SERVER 5. Edit deploy.rb in the Sprinkle Configuration; replace IP_TO_HOST with the ip of the server 6. Run the provisioning scripts $ sprinkle -s setup.rb 7. When prompted, provide the root-password to the server 8. When done, disable the root-user on the server! Notes ----------------------- At the moment, running this on a fresh GleSYS-vps throws few errors but nothing breaks. This is due to /tmp being mounted as noexec from the start, to fix this - log in to the server as root and go to /etc/fstab. Edit parameters to allow exec from /tmp - this will make the errors go away.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.