Files

55 lines
2.5 KiB
Markdown
Raw Permalink Normal View History

2026-06-28 20:35:55 -07:00
<p align="center"><img src=".github/hero.svg" alt="explore" width="880"></p>
2026-05-20 16:24:35 -07:00
# DEPRECATED — see `~/work/lux/explorer/`
> The standalone Next.js frontend in this repo is no longer deployed.
> Its build output is embedded directly into the Lux Explorer Go
> binary (`ghcr.io/luxfi/explorer:1.2.1`) via `go:embed`. Run that
> single binary in production.
>
> This repo is preserved as the source of the embedded SPA assets.
> Updates to the UI ship via a rebuild of the explorer image, not by
> deploying this Next.js app separately.
>
> Canonical deploy: `~/work/lux/explorer/` (Go binary, single process,
> indexer + GraphQL + SPA, port 8090).
<h1 align="center">Lux Explore frontend (legacy)</h1>
2022-08-26 12:12:18 +03:00
2023-04-11 19:24:42 -03:00
<p align="center">
<span>Frontend application for </span>
2025-02-02 13:08:26 -06:00
<a href="https://explore.lux.network">Lux Network</a>
2023-04-11 19:24:42 -03:00
<span> blockchain explorer</span>
</p>
## Running and configuring the app
2023-04-11 19:24:42 -03:00
2025-02-02 13:02:47 -06:00
App is distributed as a docker image. Here you can find information about the [package](https://github.com/blockscout/frontend/pkgs/container/frontend) and its recent [releases](https://github.com/blockscout/frontend/releases).
2023-04-11 19:24:42 -03:00
2023-12-12 10:16:09 +01:00
You can configure your app by passing necessary environment variables when starting the container. See full list of ENVs and their description [here](./docs/ENVS.md).
2023-04-11 19:24:42 -03:00
```sh
2025-02-02 13:02:47 -06:00
docker run -p 3000:3000 --env-file <path-to-your-env-file> ghcr.io/blockscout/frontend:latest
```
2023-04-11 19:24:42 -03:00
Alternatively, you can build your own docker image and run your app from that. Please follow this [guide](./docs/CUSTOM_BUILD.md).
2023-04-11 19:24:42 -03:00
2025-09-01 13:46:17 +02:00
For more information on migrating from the previous frontend, please see the [frontend migration docs](https://docs.blockscout.com/setup/deployment/frontend-migration).
2025-02-02 12:52:03 -06:00
## Contributing
2022-08-26 12:12:18 +03:00
See our [Contribution guide](./docs/CONTRIBUTING.md) for pull request protocol. We expect contributors to follow our [code of conduct](./CODE_OF_CONDUCT.md) when submitting code or comments.
2022-08-26 12:12:18 +03:00
## Resources
- [App ENVs list](./docs/ENVS.md)
- [Contribution guide](./docs/CONTRIBUTING.md)
2023-08-24 11:37:26 -06:00
- [Making a custom build](./docs/CUSTOM_BUILD.md)
2025-09-01 13:46:17 +02:00
- [Frontend migration guide](https://docs.blockscout.com/setup/deployment/frontend-migration)
- [Manual deployment guide with backend and microservices](https://docs.blockscout.com/setup/deployment/manual-deployment-guide)
2022-06-02 12:22:29 +03:00
## License
2022-07-28 22:39:52 +03:00
[![License: GPL v3.0](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
2022-09-22 18:15:26 +03:00
This project is licensed under the GNU General Public License v3.0. See the [LICENSE](LICENSE) file for details.