0.2.14 • Published 3 years ago

corvid-dir-as-json v0.2.14

Weekly downloads
42
License
MIT
Repository
github
Last release
3 years ago

npm version Status

Important: Features relating to the Local Editor are currently in the stage of alpha release and are still being developed. Future functionality may not be backward compatible. When using these features, you assume the risks associated with the use of such an alpha version.

The Corvid CLI allows you to download a Wix site and work on it locally. With this tool you can use your favorite development tools (e.g IDE, version control) to manage the code on your site, a local Wix Editor to edit your site's look and feel, and collaborate with others in building your site. Read more about how to use the Corvid CLI here.

Setup

Prerequisites

Node.JS version >= 10

Prepare a Local Project

  1. Enable Corvid using the Regular Editor in the site that you want to work on locally.
  2. Run create-corvid-app as follows, replacing the placeholders with values as described below:

    npx create-corvid-app <folder-name> [your-wix-site-url]
    • <folder-name>: A local directory where you want to store your local site project. If the directory doesn't exist, it will be created.
    • [your-wix-site-url](optional): The public URL of your published site or your site's Regular Wix Editor URL.

    Before your project downloads, if you are not already authenticated, a Wix authentication screen will open where you must enter your Wix credentials. You need to authenticate with a user whose role has Editor permissions for the site.

  3. If you did not provide a URL when running create-corvid-app you can clone your site into the project directory using the clone command:

    npx corvid clone <your-wix-site-url>

Work on Your Site Locally

When working on your local site, you edit your site's code in your preferred IDE and edit your site's look and feel in the Local Wix Editor.

Code

To edit your site's code, open your site's local project directory in your preferred IDE. When you make changes to your local code files, and you save those changes in your IDE, those changes are immediately synced to the Local Wix Editor.

Look and Feel

Editing the local version of your site's UI and previewing your local site is done through the Local Wix Editor.

To open your local site project in a Local Wix Editor:

  1. Navigate to the folder you specified above:

    cd <folder-name>
  2. Open a Local Wix Editor:

    npx corvid open-editor

Learn More

To learn about what else you can do with the Corvid CLI, run:

npx corvid --help

Or check out these articles about working on your Wix site locally:

0.2.14

3 years ago

0.0.0

3 years ago

0.2.12

3 years ago

0.2.11

3 years ago

0.2.10

4 years ago

0.2.10-alpha.0

4 years ago

0.2.9

4 years ago

0.2.4

4 years ago

0.2.2

4 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.83

5 years ago

0.1.82

5 years ago

0.1.81

5 years ago

0.1.77

5 years ago

0.1.73

5 years ago

0.1.72

5 years ago

0.1.38

5 years ago

0.1.37

5 years ago

0.1.36

5 years ago

0.1.35

5 years ago

0.1.34

5 years ago

0.1.33

5 years ago

0.1.32

5 years ago

0.1.31

5 years ago

0.1.30

5 years ago

0.1.29

5 years ago

0.1.28

5 years ago

0.1.27

5 years ago

0.1.26

5 years ago

0.1.25

5 years ago

0.1.24

5 years ago

0.1.23

5 years ago

0.1.22

5 years ago

0.1.21

5 years ago

0.1.20

5 years ago

0.1.19

5 years ago

0.1.18

5 years ago

0.1.17

5 years ago

0.1.16

5 years ago

0.1.15

5 years ago

0.1.14

5 years ago

0.1.13

5 years ago

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago