File tree Expand file tree Collapse file tree 2 files changed +10
-25
lines changed
Expand file tree Collapse file tree 2 files changed +10
-25
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 88
99## Local Setup
1010
11- 1 . Dependencies
11+ ### Dependencies
1212
1313[ Install rust] ( https://www.rust-lang.org/tools/install )
1414
15- Mac
15+ Be sure to take a look at pgrx's [ system requirements] ( https://github.com/pgcentralfoundation/pgrx#system-requirements ) .
16+
17+ #### Mac
1618```
1719brew install postgresql@18
1820brew services start postgresql@18
@@ -22,7 +24,7 @@ brew install icu4c pkg-config openssl@3
2224export PKG_CONFIG_PATH="/opt/homebrew/opt/icu4c/lib/pkgconfig"
2325```
2426
25- Linux
27+ #### Linux
2628```
2729curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc \
2830 | sudo gpg --dearmor --yes --batch --no-tty \
@@ -34,23 +36,23 @@ sudo apt-get update -y
3436sudo apt-get install -y build-essential pkg-config libssl-dev postgresql-server-dev-18 postgresql-18 postgresql-client-18
3537```
3638
37- 3 . Install Postgres Extension
39+ ### Install Postgres Extension
3840
3941```
4042cargo install --locked cargo-pgrx --version="0.16.1"
4143cargo pgrx init --pg18 pg_config
4244cargo pgrx install -p pg_golden_axe
4345```
4446
45- 4 . Test
47+ ### Test
4648
4749```
4850createuser --superuser --createdb --createrole golden_axe
4951createdb golden_axe_test
5052cargo test
5153```
5254
53- 5 . Run
55+ ### Run
5456
5557```
5658createdb be
@@ -61,13 +63,13 @@ psql be -f src/sql/roles.sql
6163createdb fe
6264```
6365
64- 6 . Start frontend ` fe `
66+ #### Start frontend ` fe `
6567
6668```
6769cargo run -p fe
6870```
6971
70- 7 . Start backend ` be `
72+ #### Start backend ` be `
7173
7274The backend depends on the account_limits view and the config table provided by the frontend. The backend will not attempt to update the frontend's schema and therefore must initially be ran after ` fe ` .
7375
You can’t perform that action at this time.
0 commit comments