This project is a site for the dev portal for Tezos.com. It used as a tutorial hub for various topics related to Tezos.
- Clone the repository
git clone [email protected]:tacoinfra/developers.tezos.com
- Change directory into our clone and install our dependencies
cd developers.tezos.com && npm install
- Start the development environment using the
develop
script inpackage.json
npm start
Your live server should now be running at http://localhost:8000 You should also have a tool for querying data at http://localhost:8000/___graphql
To install the dependencies run npm install
To get a production-ready build run npm run build
- This will create a folder of your compiled code and assets called
public
in the root directory
To deploy your production-ready build, run npm run deploy
- This will deploy the
public
directory you created in the build step to thegh-pages
branch in the repo
Reference to the Gatsby Tutorial link
Content is generated using Markdown files located in the src/content directory. While running in development mode (npm run develop
or npm run start
) content can be edited and viewed in the local server environment.
To contribute content, we suggest:
- Forking this repository from the
master
branch - Install and start development server
- Make content edits and test locally
- Commit and create a PR with
staging
as the base branch. PRs should be assigned to @DanielBMarkham for review.