A little Sinatra app that centralizes logged time entries from different redmine isntances
- Clone the project
git clone https://github.com/lcguida/worksheet.git
-
bundle isntall
-
Create a
database.yml
file with at least one'default'
database (pointing to a existing redmine database):
#database.yml
default:
adapter: "<mysql,postgres,sqlite>"
host: "<host>"
port: <port>
user: "<user>"
password: "<password>"
database: "<database>"
#Other databases:
another-redmine:
adapter: "<mysql,postgres,sqlite>"
host: "<host>"
port: <port>
user: "<user>"
password: "<password>"
database: "<database>"
- Create a
config.yml
as following:
#config.yml
bind: <server_bind_address>
- Execute:
bundle exec rackup -p <port>