Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
NotificationsYou must be signed in to change notification settings

SbWereWolf/fias

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Direct using by terminal of PostgreSQL service

# Let suppose the app are installed to /home/ directorycd /home/fias/# Run terminal of PostgreSQLdocker-compose -f ./docker/docker-compose.ymlexec fias \    psql -U postgres -d fias -w

Using by connect to PostgreSQL service placed inside container

  • Adjust port of PostgreSQL service outside of container byedit thedocker-compose.yml, at sectionports define external port
  • Run container by command 'sh ./run.sh'
  • Connect to PostgreSQL service to ip0.0.0.0 with early definedexternal port, with usernamepostgres and empty password
  • Use and enjoy address base of FIAS 😀

How To Install

git clone https://github.com/SbWereWolf/fias.git# Let suppose the base are downloaded to /opt/ directorytime unzip /opt/fias_dbf.zip -d ./fias/fs/home/fias/base/ \&&time find ./fias/fs/home/fias/base/ -type f -regextype posix-awk \    -regex".*\/(STEAD|NORDOC)([0-9]{2}|[0-9]{4})\.DBF$" -exec rm {}\;cd fiaschmod +x ./install.sh&& ./install.sh# at this point we can edit docker-compose.ymltime bash ./run.sh&&time bash ./deploy.sh

How to Update

# Let suppose the app are installed to /home/ directorycd /home/fias/bash ./run.sh# Purge destination directory before unzip update archiverm -rf ./fs/home/fias/update/*# Let suppose the update are downloaded to /opt/ directorytime unzip /opt/fias_delta_dbf.zip -d ./fs/home/fias/update/ \&&time find ./fs/home/fias/update/ -type f -regextype posix-awk \    -regex".*\/(STEAD|NORDOC)([0-9]{2}|[0-9]{4})\.DBF$" -exec rm {}\;time bash ./update.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp