Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
prerequisite ============ to setup this you need ruby, rubygems, mysql and git install code ============ gem install -v=1.0.3 hobo mysql mongrel git clone email@example.com:ikko/cofog.git load database ============= mysql -u your.mysql.user.name -p your.mysql.password < cofog/db/backup.sql setup database connection ========================= create a file named cofog/config/database.yml to access mysql with this content: production: &development adapter: mysql encoding: utf8 reconnect: true database: cof pool: 5 username: your.mysql.user.name password: your.mysql.password socket: /var/run/mysqld/mysqld.sock development: <<: *development if you have problems try to run rails -d mysql test then cat test/config/database.yml to see config details regarding your system. start server ============ cd cofog ruby script/server -e production -p 3000 now you should be up and running point your browser to http://localhost:3000 for reasonable performance setup cache, see how to here: https://github.com/yeah/page_cache_fu look in lib/tasks/load.rake to see how to import data from xls and the db directory for sample xls file This software is open source. Lincenced under the MIT Licence. (c) 2011 Copyright by Béky Miklós Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.