lacolonia v0.1.0
Muse Website
To run locally you need Docker and Yarn.
Getting started
Setup the secrets inside the secrets folder. You should have the following file in place:
./secrets/mysql_root_password.txt
./secrets/mysql_password.txt
./secrets/mysql_user.txt
Go to the root of the project and run:
docker-compose up
This will install everything.
You will be able to access the website on http://localhost:8080.
That's an empty Wordpress (latest version) so you want to migrate data from the existing Wordpress. This is needed also to activate the theme properly.
The first time you run the website locally you need to generate styles and scripts. In order to do that you need to run this command once.
To do so go to the theme directory:
cd wp/wp-content/themes/muse-theme
Then install Yarn dependencies and bootstrap WPACK.IO.
yarn install && yarn bootstrap
To start developing run:
yarn start
Once you have done that you should be able to properly see the website on the URL provided by WPACK.IO. Check the output of the yarn start
command.
If you want to deploy then run
yarn build
TODO
Add further instructions about deployment.
Requirements
This project depends on a few Wordpress plugins:
- WP Migrate DB Pro - 1.9.8
- Advanced Custom Fields PRO - 5.8.7
- Advanced Custom Fields - 5.9.4
You might also need Composer, but this should not be a priority since WPACK.IO has been already setup for you.
3 years ago