ChiliProject is not maintained anymore. Please be advised that there will be no more updates.
We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.
[HowTo] Install ChiliProject with SQLite and Appache Tomcat Configuration ?
Added by Chili Fan at 2012-03-29 11:17 pm
Dear ChiliProject Members
I am New To ChiliProject and Managed to Install/Setup Basic Steps Explained Hereat Wiki/Installation, I run Webrick as test example at Wiki Succesfull just Awesome!
Now i want to take next step and Installed Nginx as a service Succefull
I am complete stuck at How to Configure "nginx.conf" File or something I believe, to hook Nginx To ChiliProject
I try
http://www.redmine.org/projects/redmine/wiki/HowTo_configure_Nginx_to_run_Redmine
https://www.chiliproject.org/projects/chiliproject/wiki/HowTo_configure_Nginx_to_run_ChiliProject
but it don't make me sense how exactly i should edit this "nginx.conf" File or maybe there is other way to hook up Nginx To ChiliProject ?
Thanks InAdvance=======================================================================================
Thanks for all help Please report any Improvements and Problems about this in the forumInstall Guide ChiliProject with SQLite3 and Thin under SubURL as Windows Service
https://www.chiliproject.org/boards/1/topics/1420?r=1971#message-1971Install Guide ChiliProject with SQLite3 and Tomcat under SubURL as Windows Service
https://www.chiliproject.org/boards/1/topics/1420?r=2044#message-2044
=======================================================================================
HowTo Install ChiliProject with SQLite and Appache Tomcat Configuration ?
https://www.chiliproject.org/boards/1/topics/1420Installation notes for ChiliProject 3.0.0 with PostgreSQL on Windows 2008 as Windows Service
https://www.chiliproject.org/boards/1/topics/1212?r=1862#message-1862Thin Server and Chiliproject trouble (changed the title bcuz I was asked nicely ) :)
https://www.chiliproject.org/boards/1/topics/1898?r=1943#message-1943
Replies (31)
RE: [HowTo] Install ChiliProject with SQLite and Appache Tomcat Configuration ? - Added by Chili Fan at 2012-07-27 01:21 pm
Hello Felix
Thanks, yeah that worked ChiliProject is running now on Thin as an Application Server,
i found you posted earlier about getting Thin running by adding to Gemfile a few months earlier,
i edited my post and add your reply as an url for reference
09 Open command prompt from folder "chiliproject"* Edit At root:\rootchili\chiliproject File Gemfile ------------------------------------------------------------ |# -*- coding: utf-8 -*- |source :rubygems | |gem "rails", "2.3.14" | |#gem "eventmachine", "~> 0.12.10" |gem "eventmachine", "~> 1.0.0.rc.4" |gem "thin", "~> 1.4.1" | |gem "coderay", "~> 1.0.0" |... |... |... ------------------------------------------------------------ Delete At root:\rootchili\chiliproject File Gemfile.lock Perform "root:\rootchili\ruby\bin\ruby" -S gem update --system Perform "root:\rootchili\ruby\bin\ruby" -S bundle install --without=mysql mysql2 postgres rmagick //Perform gem install sqlite3 //Perform gem install eventmachine --pre //Perform gem install thin //Perform thin -p 3000 -e production -A rails start Perform "root:\rootchili\ruby\bin\ruby" -S bundle exec thin -p 3000 -e production -A rails start
Now lets see if i can make Thin running as Windows Service "to get rid of the console open on taskbar" by those, i prefer the last one
https://www.chiliproject.org/boards/1/topics/1420?r=1931#message-1931
https://www.chiliproject.org/boards/1/topics/1212?r=1862#message-1862
-
-Next would be to run ChiliProject in a sub folder of url by using --prefix By Dies Koper
https://www.chiliproject.org/boards/1/topics/1212?r=1862#message-1862
RE: [HowTo] Install ChiliProject with SQLite and Appache Tomcat Configuration ? - Added by Chili Fan at 2012-07-27 04:44 pm
Just managed to get ChiliProject running in a Sub URL and As a Service by Thin on Windows
Cool now i can start Using ChiliProject on Windows :)
I will let know my complete install guide Sqlite3 based ChiliProject Thin on Windows
RE: [HowTo] Install ChiliProject with SQLite and Appache Tomcat Configuration ? - Added by Chili Fan at 2012-07-27 05:09 pm
Platform Windows x86 00 Create Folders and Content At ---------------------------------------------------------------------------------------------------- |root:\ | rootchili | installers | http://rubyforge.org/frs/download.php/76054/rubyinstaller-1.9.3-p194.exe | http://www.sqlite.org/sqlite-dll-win32-x86-3071300.zip | http://www.sqlite.org/sqlite-shell-win32-x86-3071300.zip | https://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe | https://www.chiliproject.org/attachments/download/361/chiliproject-3.3.0.zip | http://www.microsoft.com/en-us/download/details.aspx?id=17657 rktools.exe | ruby | rubydevkit | chiliproject | rktools ---------------------------------------------------------------------------------------------------- 01 Install rubyinstaller-1.9.3-p194.exe Selected Checkboxes 2 and 3 to a folder "ruby" 02 Extract sqlite-dll-win32-x86-3071300.zip to folder "ruby"\bin\ 03 Extract sqlite-shell-win32-x86-3071300.zip to folder "ruby"\bin\ 04 Install DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe to a folder "rubydevkit" 05 Extract chiliproject-3.3.0.zip Subfolder contents to a folder "chiliproject" Install rktools.exe to a folder "rktools" 06 Create File "chiliproject"/config/configuration.yml as provided example one 07 Create File "chiliproject"/config/database.yml as this one ---------------------------------- |# sqlite3 (default setup). | |production: | adapter: sqlite3 | database: db/production.sqlite3 | ---------------------------------- 08 Open command prompt from folder "rubydevkit" Perform "root:\rootchili\ruby\bin\ruby" dk.rb init Perform "root:\rootchili\ruby\bin\ruby" dk.rb install 09 Edit At root:\rootchili\chiliproject File Gemfile ------------------------------------------------------------ |# -*- coding: utf-8 -*- |source :rubygems | |gem "rails", "2.3.14" | |#gem "eventmachine", "~> 0.12.10" |gem "eventmachine", "~> 1.0.0.rc.4" |gem "thin", "~> 1.4.1" | |gem "coderay", "~> 1.0.0" |... |... |... ------------------------------------------------------------ 10 Open command prompt from folder "chiliproject" Perform "root:\rootchili\ruby\bin\ruby" -S gem update --system Perform "root:\rootchili\ruby\bin\ruby" -S gem install bundler Perform "root:\rootchili\ruby\bin\ruby" -S bundle install --without=mysql mysql2 postgres rmagick Perform set RAILS_ENV=production Perform "root:\rootchili\ruby\bin\ruby" -S rake generate_session_store RAILS_ENV=production Perform "root:\rootchili\ruby\bin\ruby" -S rake db:migrate RAILS_ENV=production Perform "root:\rootchili\ruby\bin\ruby" -S rake redmine:load_default_data RAILS_ENV=production 11 Perform "root:\rootchili\ruby\bin\ruby" -S script/server -p 3000 -e production RAILS_ENV=production CheckAt http://localhost:3000/ Perform "Server Stop" 12 Perform "root:\rootchili\ruby\bin\ruby" -S bundle exec thin -p 3000 -e production -A rails start CheckAt http://localhost:3000/ Perform "Server Stop" 13 Create File "chiliproject"/config/additional_environment.rb as this one ---------------------------------- |config.action_controller.relative_url_root = "/chiliproject" | ---------------------------------- 14 Perform "root:\rootchili\ruby\bin\ruby" -S bundle exec thin -p 3000 -e production -A rails --prefix /chiliproject start CheckAt http://localhost:3000/chiliproject/ Perform "Server Stop" 15 Perform "root:\rootchili\rktools\INSTSRV.EXE" ChiliProject_Server "root:\rootchili\rktools\SRVANY.EXE" Perform DoubleClick root:\rootchili\installers\ChiliProject_Server.reg -------------------------------------------------------------------------------------- |Windows Registry Editor Version 5.00 | |[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ChiliProject_Server\Parameters] |"Application"="C:\\_ChiliProject_v3-3-0\\ruby\\bin\\ruby.exe" |"AppDirectory"="C:\\_ChiliProject_v3-3-0\\chiliproject" |"AppParameters"="C:\\_ChiliProject_v3-3-0\\ruby\\bin\\thin -p 3330 -e production -A rails --prefix /chiliproject start" | -------------------------------------------------------------------------------------- root:\rootchili>thin --help Usage: thin [options] start|stop|restart|config Server options: -a, --address HOST bind to HOST address (default: 0.0.0.0) -p, --port PORT use PORT (default: 3000) -S, --socket FILE bind to unix domain socket -y, --swiftiply [KEY] Run using swiftiply -A, --adapter NAME Rack adapter to use (default: autodetect) (rack, rails, ramaze, merb, file) -R, --rackup FILE Load a Rack config file instead of Rack adapter -c, --chdir DIR Change to dir before starting --stats PATH Mount the Stats adapter under PATH SSL options: --ssl Enables SSL --ssl-key-file PATH Path to private key --ssl-cert-file PATH Path to certificate --ssl-verify Enables SSL certificate verification Adapter options: -e, --environment ENV Framework environment (default: development) --prefix PATH Mount the app under PATH (start with /) Tuning options: -b, --backend CLASS Backend to use, full classname -t, --timeout SEC Request or command timeout in sec (default: 30) -f, --force Force the execution of the command --max-persistent-conns NUM Maximum number of persistent connections (default: 512) --threaded Call the Rack application in threads [experimental] Common options: -r, --require FILE require the library -D, --debug Set debugging on -V, --trace Set tracing on (log raw request/response) -h, --help Show this message -v, --version Show version root:\rootchili>http://rubyforge.org/frs/download.php/76054/rubyinstaller-1.9.3-p194.exe
http://www.sqlite.org/sqlite-dll-win32-x86-3071300.zip
http://www.sqlite.org/sqlite-shell-win32-x86-3071300.zip
https://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe
https://www.chiliproject.org/attachments/download/361/chiliproject-3.3.0.zip
http://www.microsoft.com/en-us/download/details.aspx?id=17657
-
http://localhost:3000/
http://localhost:3000/chiliproject/
RE: [HowTo] Install ChiliProject with SQLite and Appache Tomcat Configuration ? - Added by Chili Fan at 2012-08-02 10:20 pm
Finally ChiliProject gets launched by Tomcat JetPlane,
Running ChiliProject by Windows Tomcat7 SQlite JRuby and Warble used for deployment,
Don't know how rock stable it is, but Now once upon a time it can be done under Windows to use Tomcat for CP :)
(i guess ruby will also do the job too i should give it a try)
RE: [HowTo] Install ChiliProject with SQLite and Appache Tomcat Configuration ? - Added by Chili Fan at 2012-08-05 04:08 pm
Platform Windows x86 00 Create Folders and Content At ---------------------------------------------------------------------------------------------------- |root:\ | rootchili | installers | http://rubyforge.org/frs/download.php/76054/rubyinstaller-1.9.3-p194.exe | http://www.sqlite.org/sqlite-dll-win32-x86-3071300.zip | http://www.sqlite.org/sqlite-shell-win32-x86-3071300.zip | https://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe | https://www.chiliproject.org/attachments/download/361/chiliproject-3.3.0.zip | http://jruby.org.s3.amazonaws.com/downloads/1.6.7.2/jruby_windows_1_6_7_2.exe | http://www.java.com/en/download/manual.jsp | http://apache.mirror1.spango.com/tomcat/tomcat-7/v7.0.29/bin/apache-tomcat-7.0.29.exe | ruby | rubydevkit | chiliproject | jruby | tomcat ---------------------------------------------------------------------------------------------------- 01 Install rubyinstaller-1.9.3-p194.exe Selected Checkboxes 2 and 3 to folder "ruby" 02 Extract sqlite-dll-win32-x86-3071300.zip to folder "ruby"\bin\ 03 Extract sqlite-shell-win32-x86-3071300.zip to folder "ruby"\bin\ 04 Install DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe to folder "rubydevkit" 05 Extract chiliproject-3.3.0.zip Subfolder contents to folder "chiliproject" Install jruby_windows_1_6_7_2.exe to folder "jruby" Install java to default folder "C:\Program Files\Java\jre?" (jre6) java is required for tomcat Install apache-tomcat-7.0.29.exe TypeOfInstall Full to folder "tomcat" 06 Create File "chiliproject"/config/configuration.yml as provided example one 07 Create File "chiliproject"/config/database.yml as this one ---------------------------------- |# sqlite3 (default setup). | |production: | adapter: sqlite3 | database: db/production.sqlite3 | ---------------------------------- 08 Open command prompt from folder "rubydevkit" Perform "root:\rootchili\ruby\bin\ruby" dk.rb init Perform "root:\rootchili\ruby\bin\ruby" dk.rb install 09 Edit At root:\rootchili\chiliproject File Gemfile ---------------------------------------------------------------------------------------------- |# -*- coding: utf-8 -*- |source :rubygems | |gem "rails", "2.3.14" | |#platforms :ruby, :mri, :rbx, :jruby :mswin, :mingw do |platforms :ruby, :mri, :rbx, :mswin, :mingw do | gem "json", "~> 1.7.4" | | group :thin do | #gem "eventmachine", "~> 0.12.10" | gem "eventmachine", "~> 1.0.0.rc.4" | gem "thin", "~> 1.4.1" | end |end | |gem "coderay", "~> 1.0.0" |gem "i18n", "~> 0.4.2" |gem "rubytree", "~> 0.5.2", :require => 'tree' |gem "rdoc", ">= 2.4.2" |gem "liquid", "~> 2.3.0" |gem "acts-as-taggable-on", "2.0.0" |gem "gravatarify", "~> 3.1.0" |# Needed only on RUBY_VERSION = 1.8, ruby 1.9+ compatible interpreters should bring their csv |gem "fastercsv", "~> 1.5.0", :platforms => [:ruby_18, :jruby, :mingw_18] |gem "tzinfo", "~> 0.3.31" # Fixes #903. Not required for Rails >= 3.2 | |group :test do | gem 'shoulda', '~> 2.10.3' | # Shoulda doesn't work nice on 1.9.3 and seems to need test-unit explicitely |... |... |... |platforms :jruby do | gem "jruby-jars", "~> 1.6.7.2" | gem "jruby-openssl", "~> 0.7.7" | gem "jruby-rack", "~> 1.1.7" | gem "json", "~> 1.7.4", :platforms => [:jruby] | | group :mysql do | gem "activerecord-jdbcmysql-adapter" | end | | group :postgres do | gem "activerecord-jdbcpostgresql-adapter" | end | | group :sqlite do | gem "activerecord-jdbcsqlite3-adapter", "~> 1.2.2", :platforms => [:jruby] | gem "jdbc-sqlite3", "~> 3.7.2" | end |end |... |... |... ---------------------------------------------------------------------------------------------- 10 Open command prompt from folder "chiliproject" Perform "root:\rootchili\jruby\bin\jruby" -S gem update --system Perform "root:\rootchili\jruby\bin\jruby" -S gem install bundler Perform "root:\rootchili\jruby\bin\jruby" -S bundle install --without=mysql mysql2 postgres rmagick thin Perform set RAILS_ENV=production Perform "root:\rootchili\jruby\bin\jruby" -S rake generate_session_store RAILS_ENV=production Perform "root:\rootchili\jruby\bin\jruby" -S rake db:migrate RAILS_ENV=production Perform "root:\rootchili\jruby\bin\jruby" -S rake redmine:load_default_data RAILS_ENV=production 11 Perform "root:\rootchili\jruby\bin\jruby" -S script/server -p 3000 -e production RAILS_ENV=production CheckAt http://localhost:3000/ Perform "Server Stop" 12 Perform "root:\rootchili\jruby\bin\jruby" -S script/server -p 3000 -e production RAILS_ENV=production -P/chiliproject CheckAt http://localhost:3000/chiliproject/ Perform "Server Stop" 13 Perform "root:\rootchili\jruby\bin\jruby" -S gem install warbler Perform "root:\rootchili\jruby\bin\jruby" -S warble config Edit At root:\rootchili\chiliproject\config File warble.rb ------------------------------------------------------------------------------------------------ |Warbler::Config.new do |config| | config.dirs = %w(.bundle app config db doc extra files lib log public script test tmp vendor) | | config.includes = FileList[".gitignore",".gitmodules",".hgignore",".travis.yml","Gemfile" ,"Gemfile.lock","Rakefile","README.rdoc"] | | config.bundle_without = ["mysql","mysql2","postgres","rmagick","thin"] | | config.jar_name = "chiliproject" | | config.webxml.rails.env = ENV['RAILS_ENV'] || 'production' | | config.webxml.booter = :rails | | config.webxml.jruby.min.runtimes = 1 | | config.webxml.jruby.max.runtimes = 1 |end | ------------------------------------------------------------------------------------------------ Perform "root:\rootchili\jruby\bin\jruby" -S warble war 14 Perform "Tomcat Server Stop" Copy At root:\rootchili\chiliproject File chiliproject.war To root:\rootchili\tomcat\webapps Perform "Tomcat Server Start" Wait Coulple of minutes Tomcat unpacks File chiliproject.war (Can also done manually by "www.7-zip.org" after step "Copy" when "Tomcat Server Stop") CheckAt http://localhost:8080/chiliproject/ Perform "Tomcat Server Stop" root:\rootchili>http://rubyforge.org/frs/download.php/76054/rubyinstaller-1.9.3-p194.exe
http://www.sqlite.org/sqlite-dll-win32-x86-3071300.zip
http://www.sqlite.org/sqlite-shell-win32-x86-3071300.zip
https://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe
https://www.chiliproject.org/attachments/download/361/chiliproject-3.3.0.zip
http://jruby.org.s3.amazonaws.com/downloads/1.6.7.2/jruby_windows_1_6_7_2.exe
http://www.java.com/en/download/manual.jsp
http://apache.mirror1.spango.com/tomcat/tomcat-7/v7.0.29/bin/apache-tomcat-7.0.29.exe
-
http://localhost:3000/
http://localhost:3000/chiliproject/
RE: [HowTo] Install ChiliProject with SQLite and Appache Tomcat Configuration ? - Added by Anders Oliver at 2012-08-20 10:35 pm
Just following up on your comment on my post. I'm using the windows platform however, I prefer, due to known issues with windows etc to run a virtual machine that automatically boots on startup on my windows machine using VirtualBox. You can use the redmine version and switch it to chili. If you get stuck I'll send you my scripts or export my vitual machine for you.
_____________________
http://www.jogosdelutas.net
Chili Fan wrote:
Dear ChiliProject Members[...]I am New To ChiliProject and Managed to Install/Setup Basic Steps Explained Here
at Wiki/Installation, I run Webrick as test example at Wiki Succesfull just Awesome!Now i want to take next step and Installed Nginx as a service Succefull
I am complete stuck at How to Configure "nginx.conf" File or something I believe, to hook Nginx To ChiliProject
I try
http://www.redmine.org/projects/redmine/wiki/HowTo_configure_Nginx_to_run_Redmine
https://www.chiliproject.org/projects/chiliproject/wiki/HowTo_configure_Nginx_to_run_ChiliProject
but it don't make me sense how exactly i should edit this "nginx.conf" File or maybe there is other way to hook up Nginx To ChiliProject ?Thanks InAdvance
=======================================================================================
Thanks for all help Please report any Improvements and Problems about this in the forumInstall Guide ChiliProject with SQLite3 and Thin under SubURL as Windows Service
https://www.chiliproject.org/boards/1/topics/1420?r=1971#message-1971Install Guide ChiliProject with SQLite3 and Tomcat under SubURL as Windows Service
https://www.chiliproject.org/boards/1/topics/1420?r=2044#message-2044 =======================================================================================
HowTo Install ChiliProject with SQLite and Appache Tomcat Configuration ?
https://www.chiliproject.org/boards/1/topics/1420Installation notes for ChiliProject 3.0.0 with PostgreSQL on Windows 2008 as Windows Service
https://www.chiliproject.org/boards/1/topics/1212?r=1862#message-1862Thin Server and Chiliproject trouble (changed the title bcuz I was asked nicely ) :)
https://www.chiliproject.org/boards/1/topics/1898?r=1943#message-1943
« Previous 1 2 (26-31/31)