-
-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update customize documentation #148
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's not clear how to customize the gemstash server. Tried to use it with mysql2 adapter and it took time to read the sources and understand how to get them together.
~/.gemstash/config.yml
I had to explictly use
adapter
config key indb_connection_options
as it was processed bySequel.connect()
function.Also
Sequel
withmysql2
rewritesuser
tousername
during handling the connection options.bundle exec gemstash setup
not working with
mysql2
as there is no way to configure connection string. Maybe I'm wrong and just don't know how to do it, but still it's pretty unclear and a working example will be a great help.You have to add
gem "mysql2"
to your Gemfile, while there is no word in README that it's not a dependency.Speaking about customization, it would be great to have an example of nginx/apache/varnish configuration as a reverse proxy/caching solution for handling requests. All of them can cache successful responses from gemstash server.
The text was updated successfully, but these errors were encountered: