Giter Site home page Giter Site logo

yunohost-apps / foodsoft_ynh Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 2.0 124 KB

Web-based software to manage a non-profit food coop package for YunoHost

Home Page: https://foodcoops.github.io/

License: GNU Affero General Public License v3.0

Shell 100.00%
foodsoft yunohost yunohost-apps

foodsoft_ynh's Introduction

Foodsoft

Integration level

Install Foodsoft with YunoHost

Lire ce readme en français.

This package allow you to install Foodsoft quickly and simply on a YunoHost server.

If you don't have YunoHost, please see here to know how to install and enjoy it.

Overview

Web-based software to manage a non-profit food coop (product catalog, ordering, accounting, job scheduling). A food cooperative is a group of people that buy food from suppliers of their own choosing. A collective do-it-yourself supermarket. Members order their products online and collect them on a specified day. And all put in a bit of work to make that possible. Foodsoft facilitates the process.

https://foodcoops.github.io/

Shipped version: v4.6.0

Credentials

LDAP is not supported yet. Setting an administrator password at install time is also not supported yet. However, we do support setting the administrator profile details like username, first name, last name and email. When you first log in as the administrator, you must use the default value of secret. You should reset this password immediately.

Pre-installation steps

Please consider the following before installing:

  • There are many configuration options asked at installation time. Please review the default configuration file for some help in learning what these are all about.

Status

  • This is a new package and quite experimental. Please test with care.
  • Only the install and remove actions work. Please see this ticket for progress on enabling the rest.
  • Make sure to review issues and on-going work on the issue tracker

Screenshots

You can also watch the video walkthrough of using the application over at Vimeo:

Demo

Configuration

  • You can use the web interface to configure most things.

  • Find the main application configuration at /var/www/foodsoft/config. Please note, any modifications of these files can be wiped on upgrade. We don't have a good solution for that right now. We aim to make most things configurable at installation time.

Administration

  • You have a number of Systemd services to manage. You can check them out with:
    • systemctl status foodsoft - the rails server managed by passenger
    • systemctl status resque - the redis task runner

Documentation

YunoHost specific features

Multi-users support

Supported architectures

  • x86-64b - Build Status
  • ARMv8-A - Build Status
  • Stretch x86-64b - Build Status

Limitations

  • Unknown so far.

Additional information

Links

Developers info

Only if you want to use a testing branch for coding, instead of merging directly into master.

Please do your pull request to the testing branch.

To try the testing branch, please proceed like that.

$ yunohost app install https://github.com/YunoHost-Apps/foodsoft_ynh/tree/testing --debug
$ yunohost app upgrade foodsoft -u https://github.com/YunoHost-Apps/foodsoft_ynh/tree/testing --debug

Notes

Mirroring

foodsoft_ynh's People

Contributors

decentral1se avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

jin146 0ae0

foodsoft_ynh's Issues

Can't install nokogiri

Hi !
First of all, thank you for making foodsoft easier to install, this is greatly appreciated !

I have been able to install this yunohost package properly some month ago, but now I end up with this :

On a fresh install of yunohost, dedicated to install foodsoft, I got this error during the install process

`ERROR - Could not install foodsoft: An error occurred inside the app installation script `

Here's the log file : 

2020-05-07 18:09:25,983: DEBUG - Installing mini_portile2 2.3.0
2020-05-07 18:09:25,984: DEBUG - Fetching nokogiri 1.8.1
2020-05-07 18:09:27,198: DEBUG - Installing nokogiri 1.8.1 with native extensions
2020-05-07 18:09:28,000: DEBUG - Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
2020-05-07 18:09:28,001: DEBUG - 
2020-05-07 18:09:28,001: DEBUG - current directory:
2020-05-07 18:09:28,001: DEBUG - /var/www/foodsoft/vendor/bundle/ruby/2.4.0/gems/nokogiri-1.8.1/ext/nokogiri
2020-05-07 18:09:28,001: DEBUG - /opt/rbenv/versions/2.4.6/bin/ruby -r ./siteconf20200507-21479-19a6sr.rb
2020-05-07 18:09:28,002: DEBUG - extconf.rb --use-system-libraries
2020-05-07 18:09:28,002: DEBUG - Cannot allocate memory - /opt/rbenv/versions/2.4.6/bin/ruby -r
2020-05-07 18:09:28,002: DEBUG - ./siteconf20200507-21479-19a6sr.rb extconf.rb --use-system-libraries 2>&1
2020-05-07 18:09:28,002: DEBUG - 
2020-05-07 18:09:28,002: DEBUG - Gem files will remain installed in
2020-05-07 18:09:28,003: DEBUG - /var/www/foodsoft/vendor/bundle/ruby/2.4.0/gems/nokogiri-1.8.1 for inspection.
2020-05-07 18:09:28,003: DEBUG - Results logged to
2020-05-07 18:09:28,003: DEBUG - /var/www/foodsoft/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0-static/nokogiri-1.8.1/gem_make.out
2020-05-07 18:09:28,003: DEBUG - 
2020-05-07 18:09:28,003: DEBUG - An error occurred while installing nokogiri (1.8.1), and Bundler cannot
2020-05-07 18:09:28,003: DEBUG - continue.
2020-05-07 18:09:28,004: DEBUG - Make sure that `gem install nokogiri -v '1.8.1' --source
2020-05-07 18:09:28,004: DEBUG - 'https://rubygems.org/'` succeeds before bundling.
2020-05-07 18:09:28,004: DEBUG - 
2020-05-07 18:09:28,004: DEBUG - In Gemfile:
2020-05-07 18:09:28,004: DEBUG -   foodsoft_discourse was resolved to 0.0.1, which depends on
2020-05-07 18:09:28,005: DEBUG -     deface was resolved to 1.2.0, which depends on
2020-05-07 18:09:28,005: DEBUG -       rails was resolved to 4.2.10, which depends on
2020-05-07 18:09:28,005: DEBUG -         actionmailer was resolved to 4.2.10, which depends on
2020-05-07 18:09:28,005: DEBUG -           actionpack was resolved to 4.2.10, which depends on
2020-05-07 18:09:28,005: DEBUG -             actionview was resolved to 4.2.10, which depends on
2020-05-07 18:09:28,006: DEBUG -               rails-dom-testing was resolved to 1.0.8, which depends on
2020-05-07 18:09:28,006: DEBUG -                 nokogiri
2020-05-07 18:09:28,006: DEBUG - + ynh_exit_properly
2020-05-07 18:09:28,006: DEBUG - + local exit_code=5
2020-05-07 18:09:28,006: DEBUG - + '[' 5 -eq 0 ']'
2020-05-07 18:09:28,006: DEBUG - + trap '' EXIT
2020-05-07 18:09:28,007: DEBUG - + set +eu
2020-05-07 18:09:28,007: DEBUG - + sleep 0.5
2020-05-07 18:09:28,508: DEBUG - + type -t ynh_clean_setup
2020-05-07 18:09:28,508: WARNING - 
2020-05-07 18:09:28,509: DEBUG - + ynh_die
2020-05-07 18:09:28,509: DEBUG - + local legacy_args=mc
2020-05-07 18:09:28,509: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2020-05-07 18:09:28,510: DEBUG - + declare -Ar args_array
2020-05-07 18:09:28,510: DEBUG - + local message
2020-05-07 18:09:28,510: DEBUG - + local ret_code
2020-05-07 18:09:28,510: DEBUG - + ynh_handle_getopts_args
2020-05-07 18:09:28,510: DEBUG - + set +x
2020-05-07 18:09:28,510: DEBUG - + echo ''
2020-05-07 18:09:28,511: DEBUG - + exit 1
2020-05-07 18:09:28,651: ERROR - Could not install foodsoft: An error occurred inside the app installation script

I suppose this would occur on any attempt following these steps :

  • install yunohost with the method described on the official website
  • define an admin account and switch to it
  • launch foodsoft install process from the web interface

Make sure the SMTP configuration is up and running

This will take some time as I need to install this application on my own "live" machine which has the working SMTP configuration that I trust is working ;) So, I will get it working there and then backport the changes here. Email is hard.

[Maintenance ping] Is this app still maintained ?

Hello !

This is a friendly automatic notice from the Yunohost Apps team : our tool noticed that this app is listed in the community/official app lists - but this app appears to be inactive.

Hence, this issue was created automatically to check if this app is still actively maintained.

You are the current maintainer ? πŸ‘·β€β™‚οΈ πŸ‘·β€β™€οΈ

You still actively maintain this app ? πŸŽ‰

Please close this issue to signify that you still actively maintain this app. Nothing else, and thank you for your work ❀️ !

You don't intend to maintain this app anymore ? 😒

Either don't do anything, or add a comment to explicitly state that you do not intend / have time / ... to maintain this app (but thanks for your work so far ! 😘). After 15 days, if this issue is still opened, the app will be considered unmaintained.

You wish to become the new maintainer of this app ? πŸ˜„

You are welcome and free to comment in this thread that you wish to become the new maintainer, and/or to create the corresponding pull request to fix this issue ! (If you do not already have commit rights on this repo, we can then arrange things with the rest of the app team. πŸ˜‰) Once this issue is closed, the app will then be flagged again as maintained !

Allow to specify an administrator password at install time

It's not clear how to do the update of the default password ("secret") at install time via the MySQL commmand line because we also need to set a salt in the database and I am not sure which algorithm is being used. So, I'll just leave this for now and add a note to the README.

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.