multi tenancy

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

multi tenancy

allmunde
hi guys
thanks for your work on foodsoft
currently i planned to start a foodsoft-hosting for some austrian foodcoops
can someone please made me a short description how to run more than one foodcoop on one installation using the turnkey-built
the turnkeyfoodsoft test is running like a charm but i´m not shure what steps to do for more than one foodcoop running
cause all the ruby stuff is really new for me

thanx a lot
martin



Reply | Threaded
Open this post in threaded view
|

Re: multi tenancy

wvengen
Administrator
Hi Martin,

Good to hear! To help you get started, I've updated the wiki page at
https://github.com/foodcoops/foodsoft/wiki/Multi-tenancy
When you're new to Ruby on Rails apps, I can imagine it would take some
time to understand all that needs to be done for this. In short, it
would look something like:

1. Update config/app_config.yml (in line with the wiki page mentioned above)
2. Populate databases (using `rake multicoops:run` or rake `rake
multicoops:run_single` with TASK=db:setup)
3. Restart the webserver `touch tmp/restart.txt`

Hope this helps to get you started.

Best,
- Willem


On 04-01-16 20:36, allmunde [via foodsoft] wrote:

> hi guys
> thanks for your work on foodsoft
> currently i planned to start a foodsoft-hosting for some austrian
> foodcoops
> can someone please made me a short description how to run more than
> one foodcoop on one installation using the turnkey-built
> the turnkeyfoodsoft test is running like a charm but i´m not shure
> what steps to do for more than one foodcoop running
> cause all the ruby stuff is really new for me
>
> thanx a lot
> martin