Closed MisterMarlu closed 1 year ago
@MisterMarlu
You don't need to do any changes in .env
files. There is a wizard to set up the cms, all you need to do is visit <domain or localhost>/public/vaahcms/setup
, and cms will automatically generate the required env
files.
@themodernpk to create an empty db in the mysql container sail need a db name, user and password and using environment variables for this:
But even without editing the .env
file the error with the CSRF token missmatch will appear.
The steps above without editing the .env
file there is no db in the mysql container. Anyway, with laravel/sail I cannot install the cms :(
@MisterMarlu if you can join Slack https://join.slack.com/t/vaah/shared_invite/zt-wgvx75rr-tuAhGtjRweCR~DEVSTFcSQ , I can help you out.
@MisterMarlu as per our session, we found out that during setup wizard
it generates a .env.
file which was causing 419
error. We'll try to fix it in the next version.
Hi, seems like there is a problem when using laravel/sail to start the cms in a docker container. There is a CSRF token mismatch.
To reproduce it, here are my steps (working on Ubuntu 20.04):
npx vaah cms:install
cd vaahcms
Changing db connection in .env file
./vendor/bin/sail up
In the installer I can connect to the database but when I click "Save & Next" the error is thrown (419).