Git Product home page Git Product logo

pyxform_interface's Introduction

This is a Django web interface for pyxform (the xlsform converter for ODK Collect).

Installation

  • Setup a Django server and project:

See config/README.txt for all the details.

Maintenance

Logs are stored in /var/log/apache2 and /var/log/django and may need to be periodically removed to free up disk space.

Forms are stored in the /tmp/tmp_www-data directory, and may need to be periodically removed to free up disk space.

This doesn't need to happen very often. AWS instances come with an ~8GB drive mounted. tmpreaper can be used to remove older forms that are unlikely to be accessed.

Updating the server

To get the latest server packages and libraries, run:

sudo apt-get update
sudo apt-get upgrade

To update the pyxform_interface files:

#cd to the pyxform_interface directory
cd ~/django/xlsform/xlsform/pyxform_interface
#get the latest copy of this repo
sudo git pull
#install the latest version of pyxform from the repository listed in requirements.pip
sudo pip3 install -r requirements.pip
#restart apache for changes to take effect
sudo apache2ctl graceful

The UW-ICTD pyxform repository will be used for the update. This can be set to another repository in the requirements.pip file.

pyxform_interface's People

Contributors

linl33 avatar mitchellsundt avatar nathanathan avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.