Skip to content

Commit 56579d2

Browse files
committed
adding curl to eureka container and updating healthcheck
1 parent 3585007 commit 56579d2

File tree

4 files changed

+3
-12190
lines changed

4 files changed

+3
-12190
lines changed

package-lock.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

wp-react-lib/README.md

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
21
# WordPress React Lib
32
An easy way to integrate your react application with the world's **most popular** content management system. **wp-react-lib** uses the [Wordpress REST API](https://developer.wordpress.org/rest-api/) to load content into your classic React.js stack, it also allows embedding your own React.js components within pages and posts.
43

4+
# Building
5+
Run npm install to install all dependencies and npm run dist to build the library.
6+
57
# Dependecies
68

79
wp-react-lib@0.1.0 uses Redux and Immutable , you need to configure your store as the following example:
@@ -23,24 +25,6 @@ wp-react-lib@0.1.0 uses Redux and Immutable , you need to configure your store
2325
)
2426

2527

26-
27-
## Preparing WordPress
28-
29-
- Run dev_services.sh to start docker container using development enviroment
30-
- Open localhost
31-
- Follow WordPress setup wizard
32-
- Go to settings/permalinks, then choose day and name
33-
- *This configuration depends of your react routes setup*
34-
- Go to appearance/themes and activate wp-react-theme
35-
- *By activating this theme WordPress will disable its front-end*
36-
- Go to plugins and activate the following plugins
37-
- WP Multilang
38-
- WP-REST-API V2 Menus
39-
- **WP React Lib Components**
40-
- Update .env file accordingly
41-
- run npm install
42-
- run npm start
43-
4428
## Loading pages
4529

4630
<Provider store={store}>

wp-react-lib/package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@
3838
"scripts": {
3939
"dist": "rm -rf dist && mkdir dist && babel src/ -d dist --copy-files && npm link",
4040
"dev": "rm -rf dist && mkdir dist && babel src/ -d dist --copy-files --source-maps --watch",
41-
"start": "react-scripts start",
42-
"build": "react-scripts build",
43-
"test": "react-scripts test",
44-
"eject": "react-scripts eject",
4541
"watch": "watch ' babel src/ -d dist ' ./src"
4642
},
4743
"eslintConfig": {

0 commit comments

Comments
 (0)