-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
Here are some basic steps to get the project up and running on your computer.
The project currently use DDEV for development, so you must download it first: https://ddev.com/
git clone git@github.com:santerref/puzzle.gitcd puzzleddev startddev composer installddev npm iCopy the .env.sample and set the values to your environment (default to DDEV database):
cp .env.sample .envFiles can be stored in storage/public and storage/private. To see the public files like images, you need to create a symlink.
ddev puzzle storage:linkRun this command in the background in another terminal to run Vite in server mode:
ddev viteRun this command to build assets in production:
ddev vite buildOnce Vite is running, you need to run the installer to create database tables.
Open your browser to: https://puzzle.ddev.site/install.php
Once the installation is done (blank page), you can test the page builder: https://puzzle.ddev.site/login
You can also open Puzzle with this DDEV command:
ddev launchIf you would like to see the database structure and the data, you can run:
ddev phpmyadmin