Giter Club home page Giter Club logo

crunchbutton's Introduction

Screenshots

cb cb

cockipt


Build Status


Local Setup

  1. docker-compose up --build
  2. ./cli/install.sh

Access

Public

http://crunchbutton.localtest.me/

Admin area

http://admin.localtest.me/

  • user: admin
  • pass: admin

License

Copyright (c) 2020 Crunchbutton

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

crunchbutton's People

Contributors

arzynik avatar bdc avatar brunofullstack avatar etchen99 avatar fossabot avatar jtratner avatar kenneth0123 avatar kvee avatar lucashenriqueoliveira avatar manish0890 avatar mnmeyers avatar pererinha avatar rloliver avatar spacedevin avatar spookyburger avatar str avatar stuardo-dreamstaffing avatar typpo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

crunchbutton's Issues

heroku local is not working

Loca seup:

Run heroku local local is not working.

-bash: heroku: command not found. this error i will get.
I put this project into htdocs all 4 staps are done but not running this 5 th stap

How do I install this to my website

Quick question... Can you give me instructions on how to install the github crunchbutton on my website or possiblyย  a video

New to php and the read me file is a bit vague ....THANKS IN ADVANCE

Wiki link is broken

In the README, there's a link to go to the GitHub wiki for this project, but it doesn't appear to work. Nor does the wiki button in the top navbar.

Is the wiki not done yet? I would like to understand the difference between the normal Crunchbutton app and Cockpit.

Thanks!

How does the order flow work?

Running on Heroku and when an order is placed it shows the spinning icon on the crunchbutton and the order appears in cockpit. However, there are no options for the order in cockpit.

Resolved - Orders hanging due to Twilio error.

Where is administration panel?

Deployed crunchbutton and cockpit, it seems all ok, but can't find admin panel to add restaurants and drivers.
I've tried to add admin directly on database and login in normal login panel but it didn't work.
edit:worked!
Congratulations for the awesome software!

Style sheets do not load

Style sheets do not load

crunchbutton1

In the google chrome browser debugging console, I get the following errors:

crunchbutton2

I am trying to solve some errors.

bad configuration check your .env

Hello,

I am running the crunchbutton application on a local apache server. I get the following error when opening the application:
Uncaught SyntaxError: Unexpected identifier bundle.js:1

crunch

When I click on the error message I receive the following message:
bad configuration. check your .env

My .env file contains the following information:

DATABASE_URL=mysql://root:root@localhost:3306/crunchbutton
ENV=local
DEBUG=true
DEBUG_PHONE=
ENCRYPTION_KEY=

How is Twilio setup?

I see several app keys (driver, customer, etc.) How exactly did you have Twilio setup?

mcrypt deprecated in PHP7.0 & mcrypt_encrypt throws warning PHP5.6

mcrypt deprecated in PHP7.0 - Used in Cana/Crypt.php

Also, mcrypt_encrypt() throws the warning 'Key of size 5 not supported by this algorithm. Only keys of size 24 supported' with >=PHP5.6 (only checked PHP5.6 and PHP7.0)

EDIT - mcrypt_encrypt error thrown by settings in include/config/config.xml

No ending delimiter '/' found

Warning: preg_replace(): No ending delimiter '/' found in D:\wamp64\www\crunchbutton\www\index.php on line 51

this is the line:

$url = preg_replace('/^'.str_replace('/','\/',''.$dir).'/','',$request);

Docker

There are problems launching Crunchbutton with Docker (local). How can i solve it?

Maintainence / Docker

Hi, I'm very interested in seeing what this is all about and if my courier group could adapt it's use or expand our own system.

Trying to get it going from the Docker angle

$ docker build .
...
Step 4/18 : RUN apt-get update && apt-get install -y         libmcrypt-dev         php-pear         curl         git            nginx           zlib1g-dev     && docker-php-ext-install iconv mcrypt       && docker-php-ext-install pdo pdo_mysql         && docker-php-ext-install mbstring      && docker-php-ext-install zip
 ---> Running in a4901d0417d0
Get:1 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB]
Ign:2 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Get:3 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Get:4 http://cdn-fastly.deb.debian.org/debian stretch Release [118 kB]
Get:5 http://cdn-fastly.deb.debian.org/debian stretch Release.gpg [2434 B]
Get:6 http://cdn-fastly.deb.debian.org/debian stretch-updates/main amd64 Packages [12.1 kB]
Get:7 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 Packages [9530 kB]
Get:8 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [448 kB]
Fetched 10.3 MB in 25s (411 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Package php-pear is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'php-pear' has no installation candidate
The command '/bin/sh -c apt-get update && apt-get install -y         libmcrypt-dev         php-pear         curl         git            nginx      zlib1g-dev     && docker-php-ext-install iconv mcrypt    && docker-php-ext-install pdo pdo_mysql         && docker-php-ext-install mbstring      && docker-php-ext-install zip' returned a non-zero code: 100

With some fiddling I changed the base image and adjusted the step to obtain mcrypt via pecl

FROM php:7-fpm

RUN apt-get update &&  apt-get install -y \
        libmcrypt-dev \
        curl \
        git \
        nginx \
        zlib1g-dev \
    && pecl install mcrypt-1.0.1 \
    && docker-php-ext-enable mcrypt \
    && docker-php-ext-install iconv \
    && docker-php-ext-install pdo pdo_mysql \
    && docker-php-ext-install mbstring \
    && docker-php-ext-install zip

This gets it to the composer step but then it fails there. I resolved this (stop gap) by editing the compose file removing ext-blackfire, wildcarding the version for phpseclib/mcrypt_compat, and setting the satooshi/php-coveralls to ^2.0.0. Deleted lockfile.

Finally I commented out the twilio sms stuff (stop gap) because it was complaining about not finding the ssl directory.

This gets a Docker image built but it exits with status code 1 very quickly when running.

Running the run script with some debug flags produces the following.

$ sudo docker run -it --rm 32276c472290 /bin/bash -xe /app/cli/build.sh echo $?
+ PHPPATH=php
+ cd /app/cli/
+ php -f ./_build.php crunchbutton.com php
+ tr -d '\t\n\r'
+ php -f ./_build.php cockpit.la '' _bundle=1 php
+ tr -d '\t\n\r'
+ php -f ./_build.php crunchbutton.com assets/css/bundle.css s=style php

Getting hung op on some style preprocessor?

How far do you think this rabbit hole goes? Do you think it worth the time ressurecting or building something fresh?

The wiki link in the readme seems dead.

Thanks

Heroku

Is there a Bug with Heroku? Can't deploy it.

Installing...PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] No such file or directory in /app/cli/install.php:20 Stack trace: #0 /app/cli/install.php(20): PDO->__construct('mysql:host=;dbn...', NULL, NULL, NULL) #1 {main} thrown in /app/cli/install.php on line 20

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.