Giter VIP home page Giter VIP logo

testmirroringdest's Introduction

CivicNewsCompany-Themes-PageBuilder-Fusion-Features-Mirror

Docker

The Fusion engine and services that support it run in Docker containers that can be spun up for local development. To do so, you'll need to download and install Docker if you haven't already. Once you've installed Docker, you'll probably want to allocate at least 6GB of RAM to it so it has the resources necessary to run all the services Fusion requires.

Clone the repo

git clone [email protected]:arc-partners/CivicNewsCompany-Themes-PageBuilder-Fusion-Features-Mirror.git

Environment Variables

If you don't already have a .env file in the root directory, create the file and add:

CONTENT_BASE=https://api.sandbox.civicnewscompany.arcpublishing.com
ARC_ACCESS_TOKEN=<<YOUR-ACCESS-TOKEN>>
resizerKey=<<ASK-YOUR-TDM-OR-SA-FOR-THIS>>

More information about environment variables here.

NPMRC

To be able to run locally, you need to create a read-only token in Github. This token needs to be added to your .npmrc file and will allow you to view and install Themes blocks locally. The .npmrc file must never be added to the repo or checked in. Note: A .npmrc-encrypted file will be added by PageBuilder Engine when zipping the bundle for non-local environments. Please use the following format when setting up your .npmrc:

@wpmedia:registry=https://npm.pkg.github.com/
//npm.pkg.github.com/:_authToken=<<PASTE-HERE>>

Starting Fusion

  1. Download the node_modules: npm install
  2. To run fusion: npx fusion start
  3. Navigate to http://localhost/pagebuilder/pages to see the PageBuilder Admin.
  4. If you want to pre-populate your local database with the Sandbox database, see here.

Stopping Fusion

The server needs to be running while you are developing locally, but when you need to stop it, use this command: npx fusion down

More information

Helpful Commands

Fusion tutorials

testmirroringdest's People

Contributors

lbertolami avatar martin-daguerre-pyxis avatar elenarendo avatar hfmelo avatar jonsisk avatar elenarendotech avatar feinvalencia avatar marissa-halpert avatar melgabaly avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.