Welcome to the Casino World Project! This repository contains a custom WordPress theme and plugin for a fictional casino site.
Make sure you have the following installed:
- Docker (for setting up the local environment)
- Node.js and npm (for managing Tailwind CSS and related packages)
Follow these steps to set up the project on your local machine:
git clone https://github.com/fkon123/CasinoWorldProject.git
cd CasinoWorldProject/src/themes/casino-world
npm init -y
Install Tailwind CSS, PostCSS, and Autoprefixer:
npm install tailwindcss postcss autoprefixer
Run the following command to watch for changes in your CSS:
npx tailwindcss -i ./style.css -o ./output.css --watch
Create a .env
file in the root directory and add values to the required variables, as the example.
Navigate back to the project root:
cd ../../../
Start the Docker containers:
docker-compose -p casinoapp up
- WordPress: http://localhost:80
- phpMyAdmin: http://localhost:8081
Once WordPress is up and running, complete the installation through the browser.
After installing WordPress:
- Activate the Casino World custom theme.
- Enable the Casino World Admin plugin.
🎉 Your Casino World project is now set up! 🎉
- Tailwind CSS: For styling the theme.
- Docker: To set up the WordPress and database environment.
- Node.js & npm: For managing JavaScript dependencies and bundling assets.
- PhpMyAdmin: For easy database management.
- Wordpress latest image v.6.2.2
- MySql latest image
- NGinx!