https://github.com/evilfreelancer/codeline-wordpress
The solution of a simple test task for Codeline.io
https://github.com/evilfreelancer/codeline-wordpress
codeline docker docker-compose wordpress-site wordpress-theme
Last synced: 7 months ago
JSON representation
The solution of a simple test task for Codeline.io
- Host: GitHub
- URL: https://github.com/evilfreelancer/codeline-wordpress
- Owner: EvilFreelancer
- License: mit
- Created: 2018-07-17T14:10:11.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-17T14:14:29.000Z (over 7 years ago)
- Last Synced: 2025-02-09T15:15:43.863Z (11 months ago)
- Topics: codeline, docker, docker-compose, wordpress-site, wordpress-theme
- Language: PHP
- Size: 2.12 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Codeline Wordpress
Project fully ready to work inside the docker container.
## How to begin to use
### 1. Preparation
You need clone project to filesystem
git clone https://github.com/EvilFreelancer/codeline-wordpress.git
cd codeline-wordpress
Now you need prepare docker compose config file:
cp docker-compose.yml.dist docker-compose.yml
Inside `docker-compose.yml` you need change the values to the ones you
need, for example you do not want to tun this project on `80` port, to
fix that you need just change this line `80:80` to what you need (`7777:80`).
### 2. Compile and run composition of containers
You need build the container with this project and donload MySQL
database, for this just type following commands:
docker-compose build
docker-compose up -d
### 3. Import database dump
Now you need import database dump into the MySQL inside container:
mysql -uroot -proot_pass -h 127.0.0.1 wordpress < wordpress/wordpress.dump
## The End
Now you just need open following page http://localhost in your browser
and you will get the result of my work.
Thanks for reading!