Dear Tino,
thank you very much for your support.
Today I was trying to setup the server modifying the scripts and using the hosting machine’s IP address (the one that actually contains the virtual machine, which is also the one exposed to the Internet).
I have modified the following variable in scripts/01_environment_vars.sh
export KOBOFORM_URL=“http://ACTUALIP:8000”
export KOBOCAT_URL=“http://ACTUALIP:8001”
export KOBOCAT_INTERNAL_URL=“http://ACTUALIP:8001”
export ENKETO_SERVER=“http://ACTUALIP:8005”
export ENKETO_URL=“http://ACTUALIP:8005”
At the end of the process I get an error.
Here’s the trace:
==> default: symlink:core 9ms ??? 2%
==> default: symlink:foundation 8ms ??? 2%
==> default: Total 407ms
==> default: >> Local Npm module “grunt-sass” not found. Is it installed?
==> default: Warning: Task “sass” not found. Use --force to continue.
==> default: Aborted due to warnings.
==> default:
==> default:
==> default: Execution Time (2015-02-09 17:22:35 UTC)
==> default: loading tasks 382ms ???
??? 100%
==> default: Total 382ms
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
I have tried to install it already 3 times but it gets stuck always at the same point.
Any idea?
Dario
···
On Friday, 6 February 2015 09:28:59 UTC, Tino Kreutzer wrote:
Hi Dario,
Using the vagrant install on non-localhost is definitely possible. This commit was done to allow for this purpose. You will need to set each of the variables in env/kobocat_settings.py and scripts/01_environment_vars.sh to reflect your own server setting.
enketo-express, which is included in the installation script will not yet allow you to collect data offline. For that Collect is still your best option. Offline support with enketo-express is actively being worked on but will still take a few more months before it’s release-ready.
Data is accessible through the API - see here.
Disabling user sign up is possible as well: One option is to modify the registration page template.
Hope this helps!
Best,
Tino
On Thu Feb 05 2015 at 11:10:07 AM Dario Salvi dario...@gmail.com wrote:
Hi Kenyan,
thanks for offering me your help.
No, I haven’t sorted out any of the points unfortunately. This system is quite complex and I am not used to python nor node.js.
So let me write down the features I would need to sort out:
- I would like the system to generate links using the actual server address and not localhost
- I need the system to run on https
- I want to avoid people signing up (we could setup accounts manually on the django admin)
- I would like to have access to the data using some API or a direct connection to the DB
there’s also another feature we would strongly need: the offline data collection using enketo, but I know that the enketo express that you use doesn’t support it still. Do you know if this feature is being implemented?
If you could help with this issues, or just address me to the right links, I would be very grateful.
Without support I am afraid I won’t be able to sort these things out in a reasonable time.
Thanks!
Dario
On Wednesday, 4 February 2015 19:19:02 UTC, Kenyan Aloo wrote:
Hi Dario
Just got back. Were you sorted on the way forward? I have time difference of about 12 hours since am ine East Africa so some of my responses may be delayed.
Regards
Stephen Aloo
On 4 Feb 2015 10:11, “Aloo Stephen” step...@gmail.com wrote:
Hi Dario
This is possible, and am pretty sure that there is some documentation around this. At the moment am travelling and cant pull everything for you. But I will check later after about 7 hours and see if you have been answered. If not I will be able to put in some documentation on how to go about with this.
Regards
Stephen Aloo
KOBO and ODK Contributor
+254721260024
Aloo Stephen Onuong’a
Research and Data Specialist
On Tue, Feb 3, 2015 at 5:07 PM, Dario Salvi dario...@gmail.com wrote:
Hi,
we are interested into running Kobo for a project about pregnancy in Oxford. If successful we might also consider using it in other projects.
Because of some security requirements we need to run our own server.
I have installed the virtual machine without problems, though I would need to customize some aspects of the installation, I was wondering if you could give some hints about how to do it.
- I would like the system to generate links using the actual server address and not localhost
- we need the system to run on https
- we want to avoid people signing up (we would setup accounts)
- we would like to have access to the data using some API or direct connection to the DB
If you could provide me with some hints or documentation about how to do it I would be very grateful.
Dario Salvi
–
Dario Salvi, PhD
Researcher in mobile health systems
Department of Engineering Science
University of Oxford
Oxford, UK
Save our in-boxes! http://emailcharter.org
–
You received this message because you are subscribed to the Google Groups “Kobo Users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to kobo-users+...@googlegroups.com.
To post to this group, send email to kobo...@googlegroups.com.
Visit this group at http://groups.google.com/group/kobo-users.
For more options, visit https://groups.google.com/d/optout.
–
You received this message because you are subscribed to the Google Groups “Kobo Users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to kobo-users+...@googlegroups.com.
To post to this group, send email to kobo...@googlegroups.com.
Visit this group at http://groups.google.com/group/kobo-users.
For more options, visit https://groups.google.com/d/optout.