Git Product home page Git Product logo

rfc-vote's Introduction

RFC Vote

https://rfc.stitcher.io/

This is a small app meant to gather feedback on how RFCs are received in the PHP community.

Local Development

prerequisite: PHP >= 8.2

The app relies on Laravel Sail. See docs for details.

  1. composer install
  2. copy .env.example to .env
    • fill DB_USERNAME and DB_PASSWORD fields with your custom values.
  3. run ./vendor/bin/sail up -d
  4. run ./vendor/bin/sail artisan key:generate
  5. run ./vendor/bin/sail npm install && npm run build
  6. run ./vendor/bin/sail artisan migrate:fresh --seed

browsershot

For browsershot to work properly add the following in .env file:

CHROME_BINARY_PATH=/usr/bin/google-chrome-stable
NODE_BINARY_PATH=/usr/bin/node
NPM_BINARY_PATH=/usr/bin/npm

macOS

For macOS (If you want to use Google Chrome):

CHROME_BINARY_PATH="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"

horizon

For horizon to work properly make sure that you have the following in .env file:

REDIS_HOST=redis
REDIS_PASSWORD=null
REDIS_PORT=6379

# And the following as well
QUEUE_CONNECTION=redis

Styling guides

  • For green and red colors for yes and no votes, use custom colors defined in tailwind.config.js file.
  • For global CSS variables, use _variables.css file in the resources/css directory.

rfc-vote's People

Contributors

brendt avatar serhiicho avatar vsergiu93 avatar mohammadalhallaq avatar kamleshpaul avatar alirezasalehizadeh avatar chvanam avatar joschuba avatar carakas avatar ryangjchandler avatar krsriq avatar erol314 avatar istiak-tridip avatar mikeziri avatar rihardsgrislis avatar pronskiy 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.