Welcome to the experimental Faust getting started example.
- Setup wordpress project using localwp
- Install required plugins
- Install faust framework
cd MyFaustApp
npx create-next-app \
-e https://github.com/wpengine/faustjs/tree/main \
--example-path examples/next/faustwp-getting-started \
--use-npm
- copy the
.env.local.sample
to.env.local
but don't update it's content yet - Run the faust app using
npm run dev
, which will start the server at http://localhost:3000 - Connect the WordPress site with Faust App. For this update the
.env.local
file and update the value ofNEXT_PUBLIC_WORDPRESS_URL
with the wordpress site url. - Update the
FAUST_SECRET_KEY
value which will add security to your faust app. You can get the security key from WordPress Admin > Settings > Faust screen - Also under same Faust settings, update the
Front-end site URL
value with the url of the Faust app. - Make sure the permalink settings are not set to 'Plain'.
All the Post Types and Fields registered using ACF plugin have been placed under /acf
folder for importing in your WordPress project.
All the Songs
and Albums
data can be found as WordPress export XML file under /wp-exports
folder.