Easier alonetone local server setup (disk storage, auto generated config files, auto create migrate and load bootrap use data)
Reported by Tien Dung | October 12th, 2008 @ 09:39 PM
Comments and changes to this ticket
-
Tien Dung October 12th, 2008 @ 10:10 PM
I implemented this change request.
Please help to test by installing a new alonetone on localhost using the guideline in README.markdown
-
Tien Dung October 12th, 2008 @ 10:34 PM
feel free to change the wording in README.markdown. English is not my mother language :D
-
sudara October 13th, 2008 @ 07:23 AM
- State changed from new to open
Ok, I'll have to try this out.
I pulled it into master for now, and I'll try to setup another local copy and see how it goes.
The only thing I changed is that I commented out the rmagick requirement - I use imagescience, so when that requirement is there, I can't load alonetone (I don't have rmagick)
Also, I added back the haml plugin - it is used for pages_controller and I get an error without the plugin.
-
sudara October 16th, 2008 @ 06:29 AM
- Assigned user changed from sudara to Tien Dung
- Tag set to backend
I would say we are pretty close to resolving this one.
-
Tien Dung October 19th, 2008 @ 03:10 AM
- State changed from open to resolved
-
Matt October 19th, 2008 @ 08:43 AM
rake gems:install didn't seem to install the required gems for me. It failed with errors for both haml and rmagic so I manually installed the rest.
-
Matt October 19th, 2008 @ 08:53 AM
It seems also that (according to the error I got from running rake db:migrate) that 'googlecharts' is also a required gem but it isn't listed.
-
Tien Dung October 19th, 2008 @ 12:07 PM
- State changed from resolved to open
Hi Matt,
"haml" is required by plugins so config.gem can't help in this case. I think we can work around by adding notification in require statement. Do you have any better idea?
To Sudara: Can we remove vendor/plugin/haml? Why you need it in production server? I can run alonetone without it in my machine.
Sudara said that we can use either "rmagick" or "imagescience" that why "rmagick" or "imagescience" does not apprear in config.gem list.
We can tell it clearer in README.markdown
-
Matt October 19th, 2008 @ 12:09 PM
At this point I'm just pointing out things that seem at variance with the docs. In principle I think a note in the docs is enough of a solution. I would do it myself but since I don't understand what's what yet it doesn't make much sense for me to correct anything.
-
Tien Dung October 19th, 2008 @ 12:27 PM
Thanks Matt,
The purpose of this ticket is to help anyone with little technical skill can install alonetone seamlessly.
As you see in the source code, I borrowed a nice technique from spot-us to created config files automatically.
I would like to do the same with required gems through "rake gems:install" but seem to be that it doesn't work for every case :D
-
Tien Dung October 30th, 2008 @ 03:54 PM
Sudara, can you load HAML gem via config.gem "haml" in production server? It worked on my localhost.
-
sudara December 21st, 2008 @ 10:30 AM
- State changed from open to resolved
This is closed out, Tien did an amazing job.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.