Skip to content

Commit

Permalink
docs: updated the readme (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev authored Jun 14, 2023
1 parent 772b8ee commit 7f87f45
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
# Website
# ZetaChain Documentation

This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator.
Welcome to the ZetaChain documentation repository! Here you will find
comprehensive information about the ZetaChain protocol, including tutorials,
developer resources, and more.

## Make sure you have a .env with:
To access the live version of the documentation, please visit
https://www.zetachain.com/docs/.

```
URL=https://docs.staging.zetachain.com/
BASE_URL=/docs/
```
## Contributing

### Installation

```
$ yarn
```

### Local Development
To get started, make sure you have all the necessary dependencies installed. You
can do this by running the following command:

```
$ yarn dev
yarn
```

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
### Local Development

### Build
For local development, you can run a development server by executing the
following command:

```
$ yarn build
yarn dev
```

This command generates static content into the `build` directory and can be served using any static contents hosting service.
This will start a local development server and automatically open a browser
window. Most changes you make will be reflected live without the need to restart
the server.

### Deployment
### Build

Using SSH:
To generate static content for deployment, you can use the following command:

```
$ USE_SSH=true yarn deploy
yarn build
```

Not using SSH:

```
$ GIT_USER=<Your GitHub username> yarn deploy
```
Running this command will generate the static content and store it in the build
directory. You can then use any static content hosting service to serve the
documentation.

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
We encourage and welcome contributions to the ZetaChain documentation. If you
have any suggestions, improvements, or find any issues, please feel free to
contribute by submitting a pull request.

0 comments on commit 7f87f45

Please sign in to comment.