WordPress: Difference between revisions
imported>Farzin-az No edit summary |
imported>Onny Added simple setup |
||
| Line 1: | Line 1: | ||
== Installation == | |||
A simple local setup of Wordpress can be enabled with the following setup | |||
<syntaxHighlight lang="nix"> | |||
services.wordpress.sites."localhost".enabled = true; | |||
</syntaxHighlight> | |||
Visit http://localhost to setup your new Wordpress instance. By default, a Mysql server is configured automatically so you won't have to setup the database backend. | |||
== Configuration == | |||
=== Plugins and themes === | |||
In case you want to package and add custom plugins and themes, you can add these too | |||
<syntaxHighlight lang="nix"> | <syntaxHighlight lang="nix"> | ||
| Line 34: | Line 48: | ||
in | in | ||
{ | { | ||
services.wordpress.sites."webservice5" = { | services.wordpress.sites."webservice5" = { | ||
themes = [ responsiveTheme ]; | themes = [ responsiveTheme ]; | ||
plugins = [ akismetPlugin ]; | plugins = [ akismetPlugin ]; | ||
| Line 49: | Line 60: | ||
[[Category:Services]] | [[Category:Services]] | ||
[[Category:Web Apps]] | |||