2024-09-12 03:21:08 +09:00
# Logos Ordinals
2024-09-11 00:58:57 +09:00
2024-12-18 10:53:23 +09:00
Staging: [https://dev-dashboard.logos.co/ ](https://dev-dashboard.logos.co/ )
2024-09-21 05:27:39 +09:00
2024-09-11 00:58:57 +09:00
## How to Run Locally
1. Clone this repository
```bash
2024-09-21 05:27:39 +09:00
$ git clone https://github.com/acid-info/logos-ordinals-dashboard.git
2024-09-11 00:58:57 +09:00
```
2. Install the dependencies:
```bash
$ yarn install
```
2024-11-04 10:36:51 +09:00
3. Create a .env file
`NEXT_PUBLIC_API_MODE=development` for development
```bash
NEXT_PUBLIC_API_MODE=development
```
4. Start the development server:
2024-09-11 00:58:57 +09:00
```bash
$ yarn dev
```
4. Visit `http://localhost:3000` in your browser
## How to Run a Build (Production Build)
1. Generate files for production:
```bash
$ yarn build
```
2024-12-14 19:11:35 +09:00
The files will be created in the `out` directory.
2024-09-11 00:58:57 +09:00
2024-12-14 19:11:35 +09:00
2. The build is located in the `/out` directory. You can host it using a static HTTP server such as [http-server ](https://www.npmjs.com/package/http-server )
2024-09-11 00:58:57 +09:00
```bash
2024-12-14 19:11:35 +09:00
$ cd out & & http-server . -p 3000
2024-09-11 00:58:57 +09:00
```
2024-12-14 19:11:35 +09:00
For more details about the NextJS static build process, visit the official documentation: [https://nextjs.org/docs/pages/building-your-application/deploying/static-exports ](https://nextjs.org/docs/pages/building-your-application/deploying/static-exports )
2024-09-11 00:58:57 +09:00
2024-12-14 19:11:35 +09:00
3. Visit `http://localhost:3000` in your browser.
2024-09-11 00:58:57 +09:00
## 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.