Giter Club home page Giter Club logo

website's Introduction

Website & 0x Portal DApp

This repository contains our website and 0x Portal DApp (over-the-counter exchange), facilitating trustless over-the-counter trading of Ethereum-based tokens using 0x protocol.

Contributing

We are strongly recommend that community help us make improvements and determine the future direction of the protocol. To report the bugs within this package, please create an issue in this repository.

Please read our contribution guidelines before getting started.

Local Dev Setup

Requires Node version 6.9.5 or higher

Add the following to your /etc/hosts file:

127.0.0.1 0xproject.localhost

You will also need to have the aws CLI installed locally and your credentials set up correctly.

Install dependencies

yarn install

Initial setup

To build this package and all other monorepo packages that it depends on, run the following from the monorepo root directory:

yarn build

Run dev server

yarn dev

Visit 0xproject.localhost:3572 in your browser.

Clean

yarn clean

Lint

yarn lint

Indexing docs

Before you can index the docs on Algolia, you need to set the admin API key environment variable:

# 0x Website frontend
export ALGOLIA_ADMIN_API_KEY={YOUR_ADMIN_API_KEY}
yarn index_docs

The above script will index all the docs found in the /mdx folder on Algolia. It's possible to pass in arguments that match the directory names to index only those document types, i.e. yarn index_docs --indexes 'tools,core-concepts' --environment development will index tools and core concepts for development.

Running the script updates some of the meta information about the files (relative paths to files and versions of the doc). For other types of information (i.e. title, subtitle, tags...) you will have to update it yourself.

Resources

Toolkits
Recommended Atom packages:

website's People

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.