Development environment ,
*Hi , * I hope if some of you can share what tools you are using to make it easier in developing koha code . Recently I tried to implement koha development installation using vagrant ( https://www.vagrantup.com/) as I loved the way it works with Laravel homestead but I think something was not working with me for koha ( did any of you try vagrant with koha) let's say I have my PC and I have a windows on it , and I have a virtual machine with Debian and koha dev installation . I want to edit koha code from my windows machine using my preferred IDE and then simply from the virtual machine terminal applying patches or commit some changes . is there any way to get it easy like this ? , *Many thanks . * -- *Karam Qubsi*
Hi, Check out https://github.com/digibib/kohadevbox Its a vagrant-based development-environment which are used by many Koha developers. Petter Goksøyr Åsen Deichmanske bibliotek / Oslo Public Library ________________________________________ Fra: koha-devel-bounces@lists.koha-community.org [koha-devel-bounces@lists.koha-community.org] på vegne av Karam Qubsi [karamqubsi@gmail.com] Sendt: 24. oktober 2016 09:31 Til: Koha-devel@lists.koha-community.org Emne: [Koha-devel] Development environment , Hi , I hope if some of you can share what tools you are using to make it easier in developing koha code . Recently I tried to implement koha development installation using vagrant (https://www.vagrantup.com/) as I loved the way it works with Laravel homestead but I think something was not working with me for koha ( did any of you try vagrant with koha) let's say I have my PC and I have a windows on it , and I have a virtual machine with Debian and koha dev installation . I want to edit koha code from my windows machine using my preferred IDE and then simply from the virtual machine terminal applying patches or commit some changes . is there any way to get it easy like this ? , Many thanks . -- Karam Qubsi
Thank you Petter , That's exactly what I was looking for . On Mon, Oct 24, 2016 at 3:45 PM, Petter Goksøyr Åsen < petter.goksoyr.asen@kul.oslo.kommune.no> wrote:
Hi, Check out https://github.com/digibib/kohadevbox Its a vagrant-based development-environment which are used by many Koha developers.
Petter Goksøyr Åsen Deichmanske bibliotek / Oslo Public Library ________________________________________ Fra: koha-devel-bounces@lists.koha-community.org [ koha-devel-bounces@lists.koha-community.org] på vegne av Karam Qubsi [ karamqubsi@gmail.com] Sendt: 24. oktober 2016 09:31 Til: Koha-devel@lists.koha-community.org Emne: [Koha-devel] Development environment ,
Hi , I hope if some of you can share what tools you are using to make it easier in developing koha code .
Recently I tried to implement koha development installation using vagrant ( https://www.vagrantup.com/) as I loved the way it works with Laravel homestead but I think something was not working with me for koha ( did any of you try vagrant with koha)
let's say I have my PC and I have a windows on it , and I have a virtual machine with Debian and koha dev installation .
I want to edit koha code from my windows machine using my preferred IDE and then simply from the virtual machine terminal applying patches or commit some changes .
is there any way to get it easy like this ? ,
Many thanks . -- Karam Qubsi
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
-- *Karam Qubsi*
let's say I have my PC and I have a windows on it , and I have a virtual machine with Debian and koha dev
Check out https://github.com/digibib/kohadevbox Its a vagrant-based development-environment which are used by many Koha developers.
As far as I know it is not possible to install kohadevbox on Windows. -- Owen -- Web Developer Athens County Public Libraries http://www.myacpl.org
Karam, If kohadevbox don't start on windows I have the scripts to use koha on Vagrant (before I knew how to make work kohadevbox). Is not the standard way to run koha for the developers... But you will not need to install Linux on your machine. Regards On Tue, Oct 25, 2016 at 9:28 AM, Owen Leonard <oleonard@myacpl.org> wrote:
let's say I have my PC and I have a windows on it , and I have a virtual machine with Debian and koha dev
Check out https://github.com/digibib/kohadevbox Its a vagrant-based development-environment which are used by many Koha developers.
As far as I know it is not possible to install kohadevbox on Windows.
-- Owen
-- Web Developer Athens County Public Libraries http://www.myacpl.org _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
Hi Rodrigo , Yes kohadevbox cannot start on windows , please give me some hints how you made it work if possible . I will appreciate that :) Thank you On Tue, Oct 25, 2016 at 8:52 PM, Rodrigo Santellan <rsantellan@gmail.com> wrote:
Karam,
If kohadevbox don't start on windows I have the scripts to use koha on Vagrant (before I knew how to make work kohadevbox).
Is not the standard way to run koha for the developers... But you will not need to install Linux on your machine.
Regards
On Tue, Oct 25, 2016 at 9:28 AM, Owen Leonard <oleonard@myacpl.org> wrote:
let's say I have my PC and I have a windows on it , and I have a virtual machine with Debian and koha dev
Check out https://github.com/digibib/kohadevbox Its a vagrant-based development-environment which are used by many Koha developers.
As far as I know it is not possible to install kohadevbox on Windows.
-- Owen
-- Web Developer Athens County Public Libraries http://www.myacpl.org _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
-- *Karam Qubsi*
Greetings, [SNIP]
Check out https://github.com/digibib/kohadevbox Its a vagrant-based development-environment which are used by many Koha developers.
Owen replied:
As far as I know it is not possible to install kohadevbox on Windows.
Only because the ansible provisioning script does not run on Windows. If your machine is booting some Linux based OS that runs ansible, then you should be able to get it to work. I still work based on stuff from this: https://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_git It should be noted that Ubuntu instructions should run on Debian, with only the extra steps of having to: $ su - <root password> # apt-get install sudo # adduser <regular user name> sudo # exit $ exit Then log back in -- or something close. Granted, someone else may recommend gitify which may be faster, but I have never done it yet. https://github.com/mkfifo/koha-gitify/blob/master/README.md GPML, Mark Tompsett
Hi Mark , Thanks for the information it might be better just to install another operating system on my PC , at the beginning I didn't know that there is a vagrant box for koha , so I just tried to install from vagrant library .I cloned debian and work on it by installing koha , but I don't know what happen maybe shared folder which looks it has a very public permissions is not suitable for koha installation , I didn't try a lot maybe I will try first if it fail then I must have another operating system with my windows . By the way I also gave some tries to install koha on windows 10 ubuntu (*Bash on Ubuntu on Windows *) but it looks something went wrong not very clear what was the problem I didn't try a lot as well it was a month ago I forgot what was the problem but something with apache2 . I might also try again with it later . Thanks again . On Tue, Oct 25, 2016 at 9:00 PM, Mark Tompsett <mtompset@hotmail.com> wrote:
Greetings,
[SNIP]
Check out https://github.com/digibib/kohadevbox Its a vagrant-based development-environment which are used by many Koha developers.
Owen replied:
As far as I know it is not possible to install kohadevbox on Windows.
Only because the ansible provisioning script does not run on Windows. If your machine is booting some Linux based OS that runs ansible, then you should be able to get it to work.
I still work based on stuff from this: https://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_git It should be noted that Ubuntu instructions should run on Debian, with only the extra steps of having to: $ su - <root password> # apt-get install sudo # adduser <regular user name> sudo # exit $ exit Then log back in -- or something close.
Granted, someone else may recommend gitify which may be faster, but I have never done it yet. https://github.com/mkfifo/koha-gitify/blob/master/README.md
GPML, Mark Tompsett
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
-- *Karam Qubsi*
Greetings, There is no point in losing a legal Windows license in order to play with Koha in development. Install virtualbox. (www.virtualbox.org<http://www.virtualbox.org>) Download the latest Debian ISO. - I typically recommend using torrents for this, because internet connections are lousy sometimes. http://www.utorrent.com/intl/en/downloads/win http://cdimage.debian.org/debian-cd/8.6.0/amd64/bt-cd/debian-8.6.0-amd64-net... (64-bit) http://cdimage.debian.org/debian-cd/8.6.0/i386/bt-cd/debian-8.6.0-i386-netin... (32-bit) - I typically stick with the 64-bit version. I then create a VM based on the ISO in virtualbox. And then once that VM is up and running, I treat it as my machine to install Koha. I like to use Putty (https://the.earth.li/~sgtatham/putty/latest/x86/putty-0.67-installer.msi) to connect with the VM, because it makes cutting and pasting easier. I also install sudo on the VM $ su - {root password} # apt-get install sudo ... # adduser {user name} sudo # exit $ exit -- log back in. That way, I can follow the installation instructions more easily. I too have tried various native installations of Koha to Windows, but given the technical issues, running a VM or losing your Windows is the only way currently. My issue has always been a lack of Perl libraries. I suspect there exists a refactoring which would run natively, but that would be a huge undertaking for such a small gain. GPML, Mark Tompsett
Karam, Put the content where you did the git clone and follow this steps: 1. vagrant up (retrieve ubuntu 16.04) 2. vagrant ssh 3. sh /vagrant/provisioning/fullProvisioning.sh 4. sh /vagrant/provisioning/makeKoha.sh 5. sudo sh /vagrant/provisioning/apacheEnviroment.sh I separated on various files because I'm behind a proxy and have to do a lot of configuration manually. Perhaps there is some commands in that line of thought. Hope it helps! Regards On Fri, Oct 28, 2016 at 12:16 AM, Karam Qubsi <karamqubsi@gmail.com> wrote:
Hi Mark , Thanks for the information it might be better just to install another operating system on my PC , at the beginning I didn't know that there is a vagrant box for koha , so I just tried to install from vagrant library .I cloned debian and work on it by installing koha , but I don't know what happen maybe shared folder which looks it has a very public permissions is not suitable for koha installation , I didn't try a lot maybe I will try first if it fail then I must have another operating system with my windows .
By the way I also gave some tries to install koha on windows 10 ubuntu (*Bash on Ubuntu on Windows *) but it looks something went wrong not very clear what was the problem I didn't try a lot as well it was a month ago I forgot what was the problem but something with apache2 . I might also try again with it later .
Thanks again .
On Tue, Oct 25, 2016 at 9:00 PM, Mark Tompsett <mtompset@hotmail.com> wrote:
Greetings,
[SNIP]
Check out https://github.com/digibib/kohadevbox Its a vagrant-based development-environment which are used by many Koha developers.
Owen replied:
As far as I know it is not possible to install kohadevbox on Windows.
Only because the ansible provisioning script does not run on Windows. If your machine is booting some Linux based OS that runs ansible, then you should be able to get it to work.
I still work based on stuff from this: https://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_git It should be noted that Ubuntu instructions should run on Debian, with only the extra steps of having to: $ su - <root password> # apt-get install sudo # adduser <regular user name> sudo # exit $ exit Then log back in -- or something close.
Granted, someone else may recommend gitify which may be faster, but I have never done it yet. https://github.com/mkfifo/koha-gitify/blob/master/README.md
GPML, Mark Tompsett
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
-- *Karam Qubsi*
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
This is not the way to go, you should use kohadevbox instead https://github.com/digibib/kohadevbox/blob/master/README.md On Fri, 28 Oct 2016 at 14:50 Rodrigo Santellan <rsantellan@gmail.com> wrote: Karam, Put the content where you did the git clone and follow this steps: 1. vagrant up (retrieve ubuntu 16.04) 2. vagrant ssh 3. sh /vagrant/provisioning/fullProvisioning.sh 4. sh /vagrant/provisioning/makeKoha.sh 5. sudo sh /vagrant/provisioning/apacheEnviroment.sh I separated on various files because I'm behind a proxy and have to do a lot of configuration manually. Perhaps there is some commands in that line of thought. Hope it helps! Regards On Fri, Oct 28, 2016 at 12:16 AM, Karam Qubsi <karamqubsi@gmail.com> wrote: Hi Mark , Thanks for the information it might be better just to install another operating system on my PC , at the beginning I didn't know that there is a vagrant box for koha , so I just tried to install from vagrant library .I cloned debian and work on it by installing koha , but I don't know what happen maybe shared folder which looks it has a very public permissions is not suitable for koha installation , I didn't try a lot maybe I will try first if it fail then I must have another operating system with my windows . By the way I also gave some tries to install koha on windows 10 ubuntu (*Bash on Ubuntu on Windows *) but it looks something went wrong not very clear what was the problem I didn't try a lot as well it was a month ago I forgot what was the problem but something with apache2 . I might also try again with it later . Thanks again . On Tue, Oct 25, 2016 at 9:00 PM, Mark Tompsett <mtompset@hotmail.com> wrote: Greetings, [SNIP]
Check out https://github.com/digibib/kohadevbox Its a vagrant-based development-environment which are used by many Koha developers.
Owen replied:
As far as I know it is not possible to install kohadevbox on Windows.
Only because the ansible provisioning script does not run on Windows. If your machine is booting some Linux based OS that runs ansible, then you should be able to get it to work. I still work based on stuff from this: https://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_git It should be noted that Ubuntu instructions should run on Debian, with only the extra steps of having to: $ su - <root password> # apt-get install sudo # adduser <regular user name> sudo # exit $ exit Then log back in -- or something close. Granted, someone else may recommend gitify which may be faster, but I have never done it yet. https://github.com/mkfifo/koha-gitify/blob/master/README.md GPML, Mark Tompsett _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/ -- *Karam Qubsi* _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/ _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
Guys, any way you manage to run Koha for development is ok, and go ahead. BUT some of us belive that the more similar to real-life deployment the setup is, the better results we will have regarding the quality we provide. That's why this kohadevbox was envisioned, and we suggest everyone to test stuff on it. But it is not mandatory, just a cool development tool, that aids our daily duties. Regarding MS operating systems, I will try to make it possible to run the (ansible) provisioning scripts inside kohadevbox itself so there's no need for home-baked scripts besides just prefering them. I will fill an issue in the kohadevbox repo for that. El vie., 28 oct. 2016 a las 12:04, Jonathan Druart (< jonathan.druart@bugs.koha-community.org>) escribió:
This is not the way to go, you should use kohadevbox instead https://github.com/digibib/kohadevbox/blob/master/README.md
On Fri, 28 Oct 2016 at 14:50 Rodrigo Santellan <rsantellan@gmail.com> wrote:
Karam,
Put the content where you did the git clone and follow this steps:
1. vagrant up (retrieve ubuntu 16.04) 2. vagrant ssh 3. sh /vagrant/provisioning/fullProvisioning.sh 4. sh /vagrant/provisioning/makeKoha.sh 5. sudo sh /vagrant/provisioning/apacheEnviroment.sh
I separated on various files because I'm behind a proxy and have to do a lot of configuration manually. Perhaps there is some commands in that line of thought.
Hope it helps!
Regards
On Fri, Oct 28, 2016 at 12:16 AM, Karam Qubsi <karamqubsi@gmail.com> wrote:
Hi Mark , Thanks for the information it might be better just to install another operating system on my PC , at the beginning I didn't know that there is a vagrant box for koha , so I just tried to install from vagrant library .I cloned debian and work on it by installing koha , but I don't know what happen maybe shared folder which looks it has a very public permissions is not suitable for koha installation , I didn't try a lot maybe I will try first if it fail then I must have another operating system with my windows .
By the way I also gave some tries to install koha on windows 10 ubuntu (*Bash on Ubuntu on Windows *) but it looks something went wrong not very clear what was the problem I didn't try a lot as well it was a month ago I forgot what was the problem but something with apache2 . I might also try again with it later .
Thanks again .
On Tue, Oct 25, 2016 at 9:00 PM, Mark Tompsett <mtompset@hotmail.com> wrote:
Greetings,
[SNIP]
Check out https://github.com/digibib/kohadevbox Its a vagrant-based development-environment which are used by many Koha developers.
Owen replied:
As far as I know it is not possible to install kohadevbox on Windows.
Only because the ansible provisioning script does not run on Windows. If your machine is booting some Linux based OS that runs ansible, then you should be able to get it to work.
I still work based on stuff from this: https://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_git It should be noted that Ubuntu instructions should run on Debian, with only the extra steps of having to: $ su - <root password> # apt-get install sudo # adduser <regular user name> sudo # exit $ exit Then log back in -- or something close.
Granted, someone else may recommend gitify which may be faster, but I have never done it yet. https://github.com/mkfifo/koha-gitify/blob/master/README.md
GPML, Mark Tompsett
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
-- *Karam Qubsi*
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
-- Tomás Cohen Arazi Theke Solutions (https://theke.io <http://theke.io/>) ✆ +54 9351 3513384 GPG: B2F3C15F
Greetings, Tomas wrote:
Regarding MS operating systems, I will try to make it possible to run the (ansible) provisioning scripts inside kohadevbox itself so there's no need for home-baked scripts besides just prefering them. I will fill an issue in the kohadevbox repo for that.
+maximusmillion GPML, Mark Tompsett
Please try the 'inabox' branch to check my work on this :-D El vie., 28 oct. 2016 a las 15:43, Mark Tompsett (<mtompset@hotmail.com>) escribió:
Greetings,
Tomas wrote:
Regarding MS operating systems, I will try to make it possible to run the (ansible) provisioning scripts inside kohadevbox itself so there's no need for home-baked scripts besides just prefering them. I will fill an issue in the kohadevbox repo for that.
+maximusmillion
GPML, Mark Tompsett _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
-- Tomás Cohen Arazi Theke Solutions (https://theke.io <http://theke.io/>) ✆ +54 9351 3513384 GPG: B2F3C15F
Ok, kohadevbox:master now runs on Windows. [1] Enjoy your weekend fellows! [1] Given the fact that the Debian image we are using doesn't ship the Virtualbox Guest Additions, it is not possible to use the SYNC_REPO feature. I'll hard-disable it until we figure. El vie., 28 oct. 2016 a las 17:27, Tomas Cohen Arazi (<tomascohen@gmail.com>) escribió:
Please try the 'inabox' branch to check my work on this :-D
El vie., 28 oct. 2016 a las 15:43, Mark Tompsett (<mtompset@hotmail.com>) escribió:
Greetings,
Tomas wrote:
Regarding MS operating systems, I will try to make it possible to run the (ansible) provisioning scripts inside kohadevbox itself so there's no need for home-baked scripts besides just prefering them. I will fill an issue in the kohadevbox repo for that.
+maximusmillion
GPML, Mark Tompsett _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
-- Tomás Cohen Arazi Theke Solutions (https://theke.io <http://theke.io/>) ✆ +54 9351 3513384 <0351%2015-351-3384> GPG: B2F3C15F
-- Tomás Cohen Arazi Theke Solutions (https://theke.io <http://theke.io/>) ✆ +54 9351 3513384 GPG: B2F3C15F
Greetings, A member save seems to fail on master, but yes, Kohadevbox does seem to work on windows now from the master branch. It will take a while. And do read the README file before starting to do anything (silly configuration file). But a git bash to do a clone, and a windows prompt to do the vagrant up jessie, after tweaking a config yml file, all seems generally good. git bz worked. qa to run the test tools. Did I mention reading the README file first? [Smile] That was my first mistake when I just reattempted it. +1 Tomas. GPML, Mark Tompsett
Hi Thomas, it not clear to me how-to use ohadevbox:master on Windows. Do I need to install Virtualbox on Win, then inside it I install a Debian ? And after shall I install kohadevbox INSIDE this Debian ? Bye Zeno Tajoli ----- Messaggio originale ----- Da: "Tomas Cohen Arazi" <tomascohen@gmail.com> A: "Mark Tompsett" <mtompset@hotmail.com>, "Koha-devel" <Koha-devel@lists.koha-community.org> Inviato: Sabato, 29 ottobre 2016 0:56:46 Oggetto: Re: [Koha-devel] Development environment , Ok, kohadevbox:master now runs on Windows. [1] Enjoy your weekend fellows! [1] Given the fact that the Debian image we are using doesn't ship the Virtualbox Guest Additions, it is not possible to use the SYNC_REPO feature. I'll hard-disable it until we figure. El vie., 28 oct. 2016 a las 17:27, Tomas Cohen Arazi (< tomascohen@gmail.com >) escribió: Please try the 'inabox' branch to check my work on this :-D El vie., 28 oct. 2016 a las 15:43, Mark Tompsett (< mtompset@hotmail.com >) escribió: Greetings, Tomas wrote:
Regarding MS operating systems, I will try to make it possible to run the (ansible) provisioning scripts inside kohadevbox itself so there's no need for home-baked scripts besides just prefering them. I will fill an issue in the kohadevbox repo for that.
+maximusmillion GPML, Mark Tompsett _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/ -- Tomás Cohen Arazi Theke Solutions ( https://theke.io ) ✆ +54 9351 3513384 GPG: B2F3C15F -- Tomás Cohen Arazi Theke Solutions ( https://theke.io ) ✆ +54 9351 3513384 GPG: B2F3C15F _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
You need to install VirtualBox, Vagrant, git clone kohadevbox, follow the instructions regarding user.yml, and run vagrant up. El sáb., 29 de oct. de 2016 6:51 AM, Zeno Tajoli <z.tajoli@cineca.it> escribió:
Hi Thomas,
it not clear to me how-to use ohadevbox:master on Windows. Do I need to install Virtualbox on Win, then inside it I install a Debian ? And after shall I install kohadevbox INSIDE this Debian ?
Bye Zeno Tajoli
----- Messaggio originale ----- Da: "Tomas Cohen Arazi" <tomascohen@gmail.com> A: "Mark Tompsett" <mtompset@hotmail.com>, "Koha-devel" < Koha-devel@lists.koha-community.org> Inviato: Sabato, 29 ottobre 2016 0:56:46 Oggetto: Re: [Koha-devel] Development environment ,
Ok, kohadevbox:master now runs on Windows. [1]
Enjoy your weekend fellows!
[1] Given the fact that the Debian image we are using doesn't ship the Virtualbox Guest Additions, it is not possible to use the SYNC_REPO feature. I'll hard-disable it until we figure.
El vie., 28 oct. 2016 a las 17:27, Tomas Cohen Arazi (< tomascohen@gmail.com >) escribió:
Please try the 'inabox' branch to check my work on this :-D
El vie., 28 oct. 2016 a las 15:43, Mark Tompsett (< mtompset@hotmail.com
) escribió:
Greetings,
Tomas wrote:
Regarding MS operating systems, I will try to make it possible to run the (ansible) provisioning scripts inside kohadevbox itself so there's no need for home-baked scripts besides just prefering them. I will fill an issue in the kohadevbox repo for that.
+maximusmillion
GPML, Mark Tompsett _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
--
Tomás Cohen Arazi Theke Solutions ( https://theke.io ) ✆ +54 9351 3513384 GPG: B2F3C15F --
Tomás Cohen Arazi Theke Solutions ( https://theke.io ) ✆ +54 9351 3513384 GPG: B2F3C15F _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
-- Tomás Cohen Arazi Theke Solutions (https://theke.io <http://theke.io/>) ✆ +54 9351 3513384 GPG: B2F3C15F
Greetings, Git Bash: https://git-scm.com/download/win This is used to do the git clone of the kohadevbox found here: https://github.com/digibib/kohadevbox VirtualBox: https://www.virtualbox.org/ This is what actually ends up running the VM. Vagrant: https://www.vagrantup.com/ This is what makes the creation, destruction, and building of the VM easier. 1) Install all three. 2) Git clone (I put my stuff in /user/mark/documents/kohadevbox so it is easier to find later) 3) Open windows command prompt (I have cygwin installed and weird path overlaps seem to cause the process to fail from git bash, need to debug further later) 4) Read the instructions! https://github.com/digibib/kohadevbox/blob/master/README.md 5) Re-read the instructions! (trust me, you probably didn't read it properly the first time, like too many users who skim -- I did :( ) 6) You are at the "Usage" portion of the instructions. Deal with the users.yml file in an editor that doesn't mess up LF vs CR LF lines. I like notepad++ found at https://notepad-plus-plus.org/download 7) WAIT A LONG TIME! -- The vagrant up provisioning now properly triggers ansible on the VM. This set up includes a git clone of the Koha repository. At the end of this process you get a VM which can be accessed with 'vagrant ssh' (which I do not like) or something like putty http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html (I used the MSI installer, so I get pageant and puttygen easily too) You will note there is a file (e.g. C:\Users\mark\Documents\kohadevbox\.vagrant\machines\jessie\virtualbox\private_key) which you can open with putty's puttygen. Saving the private key from within putty gen gives you a way to use Putty to SSH to the VM (127.0.0.1 port 2222) by double clicking the saved .ppk file. The user name is 'vagrant'. Once on the VM, you will notice there are lots of directories of installed Koha software. Your development area is in /home/vagrant/kohaclone. One last note while I remember, if you tell it to run plack, staff client errors will be in the plack logs, not your expected. And for simplicity, you might want to type "sudo koha-shell kohadev" as your first command. Perhaps others will correct me, but this is what I have done thus far. GPML, Mark Tompsett
Hi Owen , Yes after reading requirement I figured out it couldn't work on windows as Ansible is not for windows . Many Thanks . On Tue, Oct 25, 2016 at 8:28 PM, Owen Leonard <oleonard@myacpl.org> wrote:
let's say I have my PC and I have a windows on it , and I have a virtual machine with Debian and koha dev
Check out https://github.com/digibib/kohadevbox Its a vagrant-based development-environment which are used by many Koha developers.
As far as I know it is not possible to install kohadevbox on Windows.
-- Owen
-- Web Developer Athens County Public Libraries http://www.myacpl.org _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
-- *Karam Qubsi*
participants (8)
-
Jonathan Druart -
Karam Qubsi -
Mark Tompsett -
Owen Leonard -
Petter Goksøyr Åsen -
Rodrigo Santellan -
Tomas Cohen Arazi -
Zeno Tajoli