manifold/web/README.md

25 lines
724 B
Markdown
Raw Normal View History

# Manifold Markets web
2021-12-02 21:44:08 +00:00
2021-12-02 23:39:11 +00:00
## Getting Started
2021-12-02 21:44:08 +00:00
2022-04-02 19:12:33 +00:00
1. `yarn` to install all dependencies
2. `yarn dev:dev` to bring up a local instance, pointing to dev database)
2021-12-02 21:44:08 +00:00
3. Your site will be available on http://localhost:3000
2021-12-02 23:39:11 +00:00
2022-04-02 19:12:33 +00:00
(`yarn dev` will point you to prod database)
### Running with local emulated database and functions
1. `yarn serve` first in `/functions` and wait for it to start
2. `yarn dev:emulate` will point you to the emulated database
2021-12-02 23:39:11 +00:00
## Formatting
2022-04-02 19:12:33 +00:00
Before committing, run `yarn format` to format your code.
2021-12-02 23:39:11 +00:00
Recommended: Use a [Prettier editor integration](https://prettier.io/docs/en/editors.html) to automatically format on save
## Developer Experience TODOs
- Prevent git pushing if there are Typescript errors?