Coder Social home page Coder Social logo

juntagrico-paas's Introduction

juntagrico

image Maintainability Test Coverage image image image image image image image Requirements Status

the easy solution for cooperative vegetable growers

juntagrico is a management platform for community gardens and vegetable cooperatives.

It provides the basic functionality like

  • subscription management
  • extra subscription management
  • management of shares
  • delivery management
  • management of members

Detailed documentation how to install and configure juntagrico can be found here https://juntagrico.readthedocs.io

Demo can be found here https://demo.juntagrico.science/ The username is "admin" and the password is "admin" too. Please do not change the password!

image image image

juntagrico-paas's People

Contributors

motu55 avatar pascalfree avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

juntagrico-paas's Issues

Option for user to backup and restore their database

Minimal:

  • A button that creates db dump (keep the last 5)
  • up to 5 button to restore from the last 5 dumps that are stored
  • up to 5 Buttons to download the last 5 dumps

Nice to have

  • A button to upload a dumpfile

Reset import to false

When clicking import app, then returning and instead clicking on create new app, the import flag will still be set to TRUE in the session, leading to an incomplete setup.

Add this at the beginning of create_app:

request.session['import'] = False

def create_app(request):

Workaround: Logout and in again before creating the app.

Log may not be available after redeploy

This happens, when waiting for a while (around 15 minutes) after the redeploy and then clicking next

Traceback (most recent call last):
  File "/var/django/adminconsole/venv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
    response = get_response(request)
  File "/var/django/adminconsole/venv/lib/python3.8/site-packages/django/core/handlers/base.py", line 115, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/var/django/adminconsole/venv/lib/python3.8/site-packages/django/core/handlers/base.py", line 113, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/var/django/adminconsole/adminconsole/decorators.py", line 16, in wrapper
    return view(request, *args, **kwargs)
  File "/var/django/adminconsole/adminconsole/views.py", line 62, in show_log
    texts = [str(eval(b_text), 'utf-8') if b_text.startswith('b') else b_text for b_text in b_texts]
  File "/var/django/adminconsole/adminconsole/views.py", line 62, in <listcomp>
    texts = [str(eval(b_text), 'utf-8') if b_text.startswith('b') else b_text for b_text in b_texts]

Exception Type: SyntaxError at /showlog/33/
Exception Value: invalid syntax (<string>, line 1)

Issue and workaround when using ManifestStaticFileStorage

When using

STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'

After redeploying the project with changed static files, the page does not load (500).
This can be fixed by saving the settings (unchanged) after such a redeploy. I assume the settings saving does something, that should be done after each redeploy.

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.