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 start
to start the project. - Run
make composer install
to 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
/uploads
folder (this will be provided separately) - Run
npm install
to install front-end dependencies - Run
npm dev
to start working on the front-end - Run
npm prod
to create production assets (CSS/JS)
make stop
will take down your containers (runs adocker-compose stop
with the right file)
⚠️ this deletes your local DB (down -v
), and rebuild
s everything, but:
If something doesn't work: try running make clean
- Run
make prod
- Upload the theme folder to the server