/rfc-vote

A community project for voting on PHP RFCs

Primary LanguagePHP

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

Laravel Sail

Follow the official docs.

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

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

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

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.