Installation is now easy!

135 views
Skip to first unread message

Jad Kik

unread,
Jan 23, 2014, 8:59:34 PM1/23/14
to
Hello everybody,

Finally I am done with the installation part.

Based on input from Jonathan (thanks!), I made a Makefile for the Linux users, which means installing is basically 3 steps:
  1. Install prerequisites
  2. Download Coinbox and run: make
  3. Configure Coinbox

And for Windows users, you have an installer which I'll upload tomorrow. Basically just a few clicks to install.

That was the tl;dr version. Here are more details:

That Makefile will install the "core" and download all the modules you want to install and install them for you.

The issue was with the prerequisites (ghitchin had a problem with that); some of which you have to build yourself, others you have to install normally. Most of these will be installed automatically now (except PySide, still looking to see if I can make that work too). The steps are in the INSTALL file on github.

So here's the INSTALL file with all the details. I know it seems long, so if you don't want to read all the boring stuff, here's the commands you should run on Fedora Linux with KDE installed (as I tested it):

su -c "yum install python-virtualenv wget make cmake gcc gcc-c++ qt-devel phonon-devel python-devel libxml2-devel libxslt-devel qtwebkit-devel"
virtualenv coinbox;cd coinbox/;source bin/activate
pip install PySide
wget https://github.com/coinbox/coinbox-core/archive/master.zip -O install.zip; unzip install.zip; cd coinbox-core-master/
make

And to run it:

export COINBOX_LOCALE_DIR=$VIRTUAL_ENV/locale COINBOX_DATA_DIR=$VIRTUAL_ENV/data COINBOX_CONFIG_DIR=$VIRTUAL_ENV/config
coinbox config
coinbox run

It's not that bad! (but it might take some time, especially `pip install PySide`).

Also for development, there's a requirements.txt file for convenience, and you can use `make develop` and `make develop-modules` with git installed.

And there's also Windows!

It's also detailed in the INSTALL file. There's an installer that you just run, press next a few times and it works. And there are instructions there on how to build the installer too.

I'll upload the installer tomorrow (in a few hours) because now I'm not on Windows and removed the last build... turns out Google Groups won't let me attach executable files, so I'll see what I can do

Regarding installation, what is left to do is the following, some I'll leave for later:
  1. Test on Debian/Ubuntu (last time I checked on Debian it worked, I'll retry with the latest changes and Makefile)
  2. Build RPM/DEB packages (I'll leave that for later, although I'm confident it wouldn't take much to do such a thing given the current setup)
  3. Test the installation of extra modules on Windows (and others, but mainly Window because it's frozen) (it's basically working, but needs some work still. i.e. you might not be able to add extra modules to a Windows install currently)

Next step is fix the issues seen in the other threads and fix the whole translation/localization/internationalization business.

And then there's a lot more work :)

Benjamin Burt

unread,
Jan 24, 2014, 5:23:11 PM1/24/14
to Coin Box POS - Main Mailing list
Awesome!

So I just finally got it installed (only took me most of today). haha

I am going to work on the install instructions so because even tho they are good, I realized how much about this stuff I don't understand. :P

I have found some bugs but we can address them later. I am going to go through a "check list" of things that we have in the google docs and see if any of the "basic" functions are missing. Because I believe we would be better of adding those (if missing) and then working out the bugs (because some of the bugs my get fixed in the process). :)

-Ben


Regarding installation, what is left to do is the following, some I'll leave for later:
  1. Test on Debian/Ubuntu (last time I checked on Debian it worked, I'll retry with the latest changes and Makefile)
  2. Build RPM/DEB packages (I'll leave that for later, although I'm confident it wouldn't take much to do such a thing given the current setup)
  3. Test the installation of extra modules on Windows (and others, but mainly Window because it's frozen) (it's basically working, but needs some work still. i.e. you might not be able to add extra modules to a Windows install currently)

Next step is fix the issues seen in the other threads and fix the whole translation/localization/internationalization business.

And then there's a lot more work :)

--
You received this message because you are subscribed to the Google Groups "Coin Box POS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coinboxpos+...@googlegroups.com.
To post to this group, send email to coinb...@googlegroups.com.
Visit this group at http://groups.google.com/group/coinboxpos.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages