Skip to content

Commit 39e49a9

Browse files
authored
Merge pull request #369 from DataIntegrationGroup/update-getting-started
NO TICKET - Update Getting Started to reflect recent onboarding experience
2 parents b204453 + b639adb commit 39e49a9

2 files changed

Lines changed: 11 additions & 5 deletions

File tree

.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ DB_DRIVER=postgres
22

33
POSTGRES_USER=admin
44
POSTGRES_PASSWORD=password
5-
POSTGRES_DB=
5+
POSTGRES_DB=ocotillo
66
POSTGRES_HOST=localhost
7-
POSTGRES_PORT=5432
7+
POSTGRES_PORT=54321
88

99
# Connection pool configuration for parallel transfers
1010
# pool_size: number of persistent connections to maintain

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ supports research, field operations, and public data delivery for the Bureau of
3939
#### 1. Clone the repository
4040

4141
```bash
42-
git clone https://github.com/DataIntegrationGroup/NMSampleLocations.git
43-
cd NMSampleLocations
42+
git clone https://github.com/DataIntegrationGroup/OcotilloAPI.git
43+
cd OcotilloAPI
4444
```
4545

46-
#### 2. Set up virtual environment and install depdencies
46+
#### 2. Set up virtual environment and install dependencies
4747

4848

4949
<table>
@@ -90,6 +90,12 @@ pre-commit install
9090
# Edit `.env` to configure database connection and app settings
9191
cp .env.example .env
9292
```
93+
Notes:
94+
* Create file gcs_credentials.json in the root directory of the project, and obtain its contents from a teammate.
95+
* PostgreSQL port is 54321 (default is 5432). Update your `postgresql.conf` to `port = 54321`.
96+
- On many systems, `postgresql.conf` is in the PostgreSQL data directory (for example: `/etc/postgresql/<version>/main/postgresql.conf` on Debian/Ubuntu, `/var/lib/pgsql/data/postgresql.conf` on many RPM-based distros, or `/usr/local/var/postgres/postgresql.conf` for Homebrew on macOS).
97+
- You can find the exact location from `psql` with: `SHOW config_file;`
98+
- After changing the port, restart PostgreSQL so the new port takes effect.
9399

94100
In development set `MODE=development` to allow lexicon enums to be populated.
95101

0 commit comments

Comments
 (0)