forked from base-org/pessimism
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Adrian Smith <[email protected]>
- Loading branch information
Showing
73 changed files
with
1,288 additions
and
1,230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,4 +23,4 @@ EXPOSE 8080 | |
EXPOSE 7300 | ||
|
||
# Run app | ||
CMD ["./pessimism"] | ||
CMD ["./pessimism"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Pessimism Documentation | ||
|
||
This directory contains the english specs for the Pessimism application. | ||
|
||
## Contents | ||
- [Architecture](architecture/architecture.markdown) | ||
- [JSON-RPC API](swaggerdoc.html) | ||
- [ETL Subsystem](architecture/etl.markdown) | ||
- [Engine Subsystem](architecture/engine.markdown) | ||
- [Alerting Subsystem](architecture/alerting.markdown) | ||
- [Heuristics](heuristics.markdown) | ||
- [Telemetry](telemetry.markdown) | ||
|
||
## GitHub Pages | ||
The Pessimism documentation is hosted on GitHub Pages. To view the documentation, please visit [https://base-org.github.io/pessimism](https://base-org.github.io/pessimism/architecture). | ||
|
||
|
||
## Contributing | ||
If you would like to contribute to the Pessimism documentation, please advise the guidelines stipulated in the [CONTRIBUTING.md](../CONTRIBUTING.md) file __before__ submitting a pull request. | ||
|
||
|
||
## Running Docs Website Locally | ||
|
||
### Prerequisites | ||
- Ensure that you have installed the latest version of ruby on your machine following steps located [here](https://www.ruby-lang.org/en/documentation/installation/). | ||
- Installing ruby should also install the ruby bundler which is used to install dependencies located in the [Gemfile](Gemfile) | ||
|
||
### Local Testing | ||
To run the documentation website locally, ensure you have followed the prerequisite steps, then do the following | ||
1. Install dependencies via `bundle install` | ||
2. Run `bundle exec jekyll serve` | ||
3. You should now see a localhost version of documentation for the website! | ||
|
||
## Creating Diagrams in GitHub Pages | ||
|
||
It is important to note that you cannot simply write a mermaid diagram as you normally would with markdown and expect the diagram to be properly rendered via GitHub pages. To enable proper GitHub pages rendering, follow the recommended steps below: | ||
1. Implement your diagram in markdown using the ` ```mermaid\n` key | ||
2. Once done with implementing the diagram, ff you have not already, import the mermaid.js library via the following | ||
``` | ||
{% raw %} | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/mermaid.min.js"></script> | ||
{% endraw %} | ||
``` | ||
3. Delete the ` ```mermaid ` key and replace it with | ||
``` | ||
{% raw %} | ||
<div class="mermaid"> | ||
--- diagram implementation here --- | ||
</div> | ||
{% endraw %} | ||
4. Done! To make sure this renders correctly, you can run `bundle exec jekyll serve` to view your changes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.