Dedicated wordpress theme and installation for https://entethalliance.org/
The Stack requires:
- Docker -> https://www.docker.com/
- Node.js -> https://nodejs.org/en
- Composer -> https://getcomposer.org/
First of all you need to clone the repository locally on your machine and switch to branch develop, this is the branch where all the new features will be merged into.
After cloning the repo:
- Go to project root directory
- Run
cp .env.sample .env && cp auth.json.sample auth.json - Run
make startto start the project. - Run
make composer installto install backend dependencies - Wait a bit, until WP installation done and open localhost or localhost/wp-admin (please check for the correct http port. -- default is 80)
- Go to (adminer) http://localhost/8000 to import some **[seed] (this will be provided but not in repo, because we don't want to expose data).
- Let's now finish the setup to run the frontend!
A step-by-step guide to start (launch) the frontend part, and start working on it.
- Go to directory
/wp-content - upload the
/uploadsfolder (this will be provided separately) - Run
npm installto install front-end dependencies - Run
npm devto start working on the front-end - Run
npm prodto create production assets (CSS/JS)
make stopwill take down your containers (runs adocker-compose stopwith the right file)
⚠️ this deletes your local DB (down -v), and rebuilds everything, but:
If something doesn't work: try running make clean
- Run
make prod - Upload the theme folder to the server