• Resolved cmateam

    (@cmateam)


    I have created a web app in Digital Ocean. I created a local WordPress installation and installed the ReactPress plugin. Can I use the existing react app to connect to my local WordPress using the ReactPress plugin? If I can do that, what is the procedure?

Viewing 1 replies (of 1 total)
  • Plugin Author rockiger

    (@rockiger)

    The workflow for ReactPress is as follows:

    1. Install ReactPress on your local WordPress installation
    2. Use create-react-app from the command line in the apps folder shown in ReactPress
    3. Reload ReactPress page and give the app a slug
    4. Develop your React app
    5. Build the app
    6. Install ReactPress on live WordPress site
    7. Create the same folder there (no need for create-react-app) there
    8. Upload the build folder of your React app into the created folder.
    9. Reload ReactPress page and give the app the SAME slug.

    You need to build your React app inside your local WP installation, otherwise it won’t work.

Viewing 1 replies (of 1 total)
  • The topic ‘Existing app’ is closed to new replies.