Skip to content

acid-info/logos-ordinals-dashboard

Repository files navigation

Logos Ordinals

Dev : https://logos-ordinals-dashboard.vercel.app/

Staging : https://dev-dashboard.logos.co/

Prod : https://dashboard.logos.co/

How to Run Locally

  1. Clone this repository
$ git clone https://github.com/acid-info/logos-ordinals-dashboard.git
  1. Install the dependencies:
$ yarn install
  1. Create a .env file

NEXT_PUBLIC_API_MODE=development for development

NEXT_PUBLIC_API_MODE=development
  1. Start the development server:
$ yarn dev
  1. Visit http://localhost:3000 in your browser

How to Run a Build (Production Build)

  1. Generate files for production:
$ yarn build

The files will be created in the out directory.

  1. The build is located in the /out directory. You can host it using a static HTTP server such as http-server
$ cd out && http-server . -p 3000

For more details about the NextJS static build process, visit the official documentation: https://nextjs.org/docs/pages/building-your-application/deploying/static-exports

  1. Visit http://localhost:3000 in your browser.

Change Process

  1. Create a new working branch from develop: git checkout develop; git checkout -b my-changes.

  2. Make your changes, push them to the origin, and open a Pull Request against the develop branch.

  3. After approval, merge the pull request, and verify the changes on the staging server.

  4. When ready to promote changes to the live website, create a pull request against the "master" branch, based on the "develop" branch.