Reply 160 of 162, by rasz_pl
so about https://blog.theretroweb.com/2023/04/25/the-r … ing-volunteers/
readme.md appears slightly outdated. Debian 12 wouldnt work with php8.0. I had to (disclaimer, I dont know what Im doing, >10 years out of managing linux boxes):
-sudo apt install php8.0 php8.0-mbstring php8.0-dom php8.0-gd php8.0-intl php8.0-pgsql php8.0-xsl
+sudo apt install php8.2 php8.2-{mbstring,dom,gd,intl,pgsql,xsl}
+composer require symfony/stimulus-bundle
+yarn upgrade webpack@^5.0.0
\i database.pgsql generated some errors:
psql:database.pgsql:46218: ERROR: insert or update on table "chip_image" violates foreign key constraint "fk_e3ead662df91ac92"
DETAIL: Key (creditor_id)=(6) is not present in table "creditor".
-yarn dev encore --watch
//doesnt work "Unknown command or entry 'encore'"
+yarn encore dev
//works, no idea if it does the business
-symfony serve -d --document-root=./
+symfony serve -d --document-root=./public
//only place with index.php
An exception occurred while executing a query: SQLSTATE[42703]: Undefined column: 7 ERROR: column m0_.slug does not exist
LINE 1: ...dited AS last_edited_4, m0_.max_cpu AS max_cpu_5, m0_.slug A...
debian:/var/www/ultimateretro$ grep -roaF .slug ./ |tail -n1
./migrations/Version20220506194008.php:.slug
cat ./migrations/Version20220506194008.php
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE motherboard ADD slug VARCHAR(80)');
psql:
SELECT column_name
FROM information_schema.columns
WHERE table_schema = 'public'
AND table_name = 'motherboard';
column_name | id
column_name | manufacturer_id
column_name | chipset_id
column_name | form_factor_id
column_name | video_chipset_id
column_name | max_video_ram_id
column_name | audio_chipset_id
column_name | name
column_name | dimensions
column_name | note
column_name | last_edited
column_name | max_cpu
"slug" column missing, /migrations arent being executed?
TLDR: cant bootstrap the repo as is by my own, I need some help.
https://github.com/raszpl/FIC-486-GAC-2-Cache-Module for AT&T Globalyst
https://github.com/raszpl/386RC-16 memory board
https://github.com/raszpl/440BX Reference Design adapted to Kicad
https://github.com/raszpl/Zenith_ZBIOS MFM-300 Monitor