diff --git a/README.md b/README.md new file mode 100644 index 0000000..807acbb --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +# inception + +a project for the 42 school. it's a docker compose that builds and runs a wordpress website. + +# how to use +- copy env_template to env and change the values as you want. + - DOMAIN is the domain used in the SSL certificate used (that will be self-signed). + you can use whatever + - VOLUMES_PATH is the path where the volumes (all the website's data) will be saved. you probably want to set an absolute path + - you might have problems reading/writing in that path if you're not root +- build and run the docker using `$ make` +- connect to https://localhost:4433/ with your favorite browser + - it will show a warning as the SSL certificate is not valid. it's normal, it's a self-signed certificate. ignore +- if it's your first time running it, it will ask you to configure the wordpress website. do that +- you have your wordpress website :) +- you can stop the docker wherever you want using ctrl-C on the terminal +- to run it again, just use `$ make` again diff --git a/env_template b/env_template index 8c039c1..1a052f6 100644 --- a/env_template +++ b/env_template @@ -1,4 +1,4 @@ -DOMAIN=mcolonna.42.fr +DOMAIN=example.com DATABASE_PWD=[insert_cool_password_here] DATABASE_PWD_ROOT=[insert_other_cool_password_here] VOLUMES_PATH=[insert_absolute_path]