This is a webapp meant to gather feedback on how RFCs are received in the PHP community.
Remember to run
composer qa
before committing a PR
The app supports Laravel Sail. See docs for details.
- install dependency via docker
docker run --rm \
-u "$(id -u):$(id -g)" \
-v "$(pwd):/var/www/html" \
-w /var/www/html \
laravelsail/php82-composer:latest \
composer install --ignore-platform-reqs
- copy
.env.example
to.env
- fill
DB_USERNAME
andDB_PASSWORD
fields with your custom values.
- fill
- run
./vendor/bin/sail up -d
- run
./vendor/bin/sail artisan key:generate
- run
./vendor/bin/sail npm install && npm run build
- run
./vendor/bin/sail artisan migrate:fresh --seed
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
- For green and red colors for
yes
andno
votes, use custom colors defined intailwind.config.js
file. - For global CSS variables, use
_variables.css
file in theresources/css
directory.