Skip to content

Commit

Permalink
#622 Small tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
tariqksoliman committed Jan 29, 2025
1 parent 58a3ce4 commit 1f36ee3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions python-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dependencies:
- pip:
- numpy==2.1.0
- requests==2.32.3
- rio_stac==0.8.1
- spiceypy==5.1.2
- pymap3d==3.0.1
- pypgstac==0.8.6
Expand Down
2 changes: 1 addition & 1 deletion sample.env
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ LINK_PREVIEW_DESCRIPTION=
DISABLE_LINK_SHORTENER=false

#DB
# If using docker, DB_HOST is the database container name
# If using docker, DB_HOST is the database service name (db)
DB_HOST=localhost
# Postgres' default port is 5432
DB_PORT=5432
Expand Down
4 changes: 3 additions & 1 deletion scripts/init-db.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ async function initializeDatabase() {
function keepGoingSTAC() {
try {
const output = execSync(
`${isDocker ? `micromamba run -n mmgis ` : ``}pypgstac migrate`,
`${
isDocker ? `source ~/.bashrc && micromamba run -n mmgis ` : ``
}pypgstac migrate`,
{
env: {
PYTHONUTF8: 1,
Expand Down

0 comments on commit 1f36ee3

Please sign in to comment.