Easier alonetone local server setup (disk storage, auto generated config files, auto create migrate and load bootrap use data)
-
Tien Dung
I implemented this change request.
Please help to test by installing a new alonetone on localhost using the guideline in README.markdown
-
Tien Dung
feel free to change the wording in README.markdown. English is not my mother language :D
-
sudara
- 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
- 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
- State changed from open to resolved
-
Matt
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
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
- 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
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
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
-
sudara
Tein:
haml is needed for the views in /pages
-
Tien Dung
Sudara, can you load HAML gem via config.gem "haml" in production server? It worked on my localhost.
-
sudara
Hey Tien!
I will check this (sorry I missed it earlier)
Sudara
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.