{"id":18352467,"url":"https://github.com/frontity/frontity-in-atlas","last_synced_at":"2025-07-08T22:04:15.544Z","repository":{"id":67214036,"uuid":"319607296","full_name":"frontity/frontity-in-atlas","owner":"frontity","description":"Frontity in WP Engine (both Node and WP)","archived":false,"fork":false,"pushed_at":"2021-03-16T16:02:34.000Z","size":1459,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T11:46:07.264Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://wpengine.frontity.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/frontity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-08T10:43:21.000Z","updated_at":"2022-01-10T13:18:23.000Z","dependencies_parsed_at":"2023-02-21T07:46:01.064Z","dependency_job_id":null,"html_url":"https://github.com/frontity/frontity-in-atlas","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/frontity/frontity-in-atlas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frontity%2Ffrontity-in-atlas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frontity%2Ffrontity-in-atlas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frontity%2Ffrontity-in-atlas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frontity%2Ffrontity-in-atlas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frontity","download_url":"https://codeload.github.com/frontity/frontity-in-atlas/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frontity%2Ffrontity-in-atlas/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264357296,"owners_count":23595576,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T21:36:05.648Z","updated_at":"2025-07-08T22:04:15.525Z","avatar_url":"https://github.com/frontity.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frontity in Atlas (WP Engine)\n\nThis is the Frontity project that is powering the site https://wpengine.frontity.org.\n\n**Both WordPress and Frontity are running in WP Engine**:\n\n- WordPress is running in the [WP Engine](https://wpengine.com/) managed hosting service.\n- Frontity is running in [Atlas](https://wpengine.com/atlas), the new Headless WordPress platform of WP Engine.\n\n# Installation\n\nIf you want to run Frontity in Atlas, follow this steps:\n\n## 1. Install the CLI\n\nFirst, install the Atlas CLI.\n\n```\nnpm i @wpengine/headless-cli -g\n```\n\n_Docs: https://developers.wpengine.com/docs/headless/guides_\n\n## 2. Login and connect with GitHub\n\nThe next step is to login to your WP Engine account:\n\n```\nwpe alpha auth login\n```\n\nAnd then connect with GitHub\n\n```\nwpe alpha auth login github\n```\n\nIn order to work with headless apps, we need to set our account context. Your account name can be found in the WP Engine User Portal in the top left of the navigation bar. To set the account context, run:\n\n```\nwpe alpha context set account YOUR_ACCOUNT_NAME\n```\n\n_Docs: https://developers.wpengine.com/docs/headless/guides/getting-started/deploy-app/cli#authenticate-with-the-platform-via-the-cli_\n\n## 3. Create a `wpe.json` File\n\nCreate a `wpe.json` file in the root of your project.\n\nFor example, this is the one we used for this project:\n\n```json\n{\n  \"name\": \"frontity-in-atlas\",\n  \"repo\": \"frontity/frontity-in-atlas\",\n  \"region\": \"US-C\",\n  \"environments\": [\n    {\n      \"name\": \"Production\",\n      \"branch\": \"master\",\n      \"wp_environment_name\": \"frontity-in-atlas\"\n    }\n  ]\n}\n```\n\n_Docs: https://developers.wpengine.com/docs/headless/guides/getting-started/deploy-app/cli#create-a-wpejson-file_\n\n## 4. Add npm scripts\n\nAtlas needs two npm scripts:\n\n- `wpe-build`: To build the app.\n- `start`: To run the app.\n\nAdd them to your `package.json`:\n\n```json\n\"scripts\": {\n    \"dev\": \"frontity dev\",\n    \"build\": \"frontity build\",\n    \"start\": \"frontity serve --port 8080\",\n    \"wpe-build\": \"frontity build\"\n  },\n```\n\n\u003e ℹ️ If you want to run Frontity in Embedded mode, add a `--public-path` option to the build script with the URL of your Atlas deployment.\n\n## 5. Deploy!\n\nFinally, create the application using:\n\n```\nwpe alpha apps create -f wpe.json\n```\n\nThat's it. The app will be deployed.\n\nFrom now on, a new build will be generated each time you push code to your repository.\n\n_Docs: https://developers.wpengine.com/docs/headless/guides/getting-started/deploy-app/cli#deploy-your-app_\n\n# » Frontity Channels 🌎\n\nWe have different channels at your disposal where you can find information about the project, discuss about it and get involved:\n\n- 📖 **[Docs](https://docs.frontity.org)**: this is the place to learn how to build amazing sites with Frontity.\n- 👨‍👩‍👧‍👦 **[Community](https://community.frontity.org/)**: use our forum to [ask any questions](https://community.frontity.org/c/dev-talk-questions), feedback and meet great people. This is your place too to share [what are you building with Frontity](https://community.frontity.org/c/community/showcases/19)!\n- 🐞 **[GitHub](https://github.com/frontity/frontity)**: we use GitHub for bugs and pull requests. Questions are answered in the [community forum](https://community.frontity.org/)!\n- 🗣 **Social media**: a more informal place to interact with Frontity users, reach out to us on [Twitter](https://twitter.com/frontity).\n- 💌 **Newsletter**: do you want to receive the latest framework updates and news? Subscribe [here](https://frontity.org/)\n\n### » Get involved 🤗\n\nGot questions or feedback about Frontity? We'd love to hear from you. Use our [community forum](https://community.frontity.org) yo ! ❤️\n\nFrontity also welcomes contributions. There are many ways to support the project! If you don't know where to start, this guide might help → [How to contribute?](https://docs.frontity.org/contributing/how-to-contribute)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrontity%2Ffrontity-in-atlas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrontity%2Ffrontity-in-atlas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrontity%2Ffrontity-in-atlas/lists"}