fiso-theme | ||
docker-compose.yml | ||
README.md |
FISO theme
Theme created for the Stichting FISO Eindhoven website.
Installing Grav development env
- Install Docker & Docker compose
- Run
docker compose up -d
with the./fiso-theme:/var/www/html/user/themes/fiso-theme:ro
line commented out indocker-compose.yml
. - Run
docker exec -it fiso-site-grav-1 gpm install admin
and install all plugins requested. - Run
docker compose down
- Uncomment the
fiso-theme
line indocker-compose.yml
- Run
docker compose up
to start the development env. - Open Grav on port 8000 (http://localhost:8000)
- Create an example admin account to manage the dev install (I always create
admin
/FISOisTHEbest!123
)
Preparing the FISO theme
- Open the
fiso-theme
folder in your preferred terminal - Run
npm install
- Run
npm run dev
to build the Tailwind CSS classes
Installing it on the webserver
- Run
npm run build
in thefiso-theme
folder in your terminal - Copy the
fiso-theme
folder to the webhostinguser/themes
folder. - Pick it in Grav admin.