Giter Club home page Giter Club logo

alma-integration-tools's Introduction

alma-intergration-tools

Setup SFTP docker containers

  1. Create folder structure & generate ssh keys To create the docker container structures use the setup script in the docker-sftp directory to setup the initial file structure..

user@host $ ./bin/setup.sh ./

  1. Load default sshd config: The following commands will load the default ssh config settings to both sftp servers. Change as needed.

user@host $ cat ssh-config-base > sftp-import/sshd_config

user@host $ cat ssh-config-base > sftp-export/sshd_config

  1. Setup user password If you need password access to the docker containers to install SSH identiy keys use from another client the following command:

user@host $ docker exec -it sftp-export passwd sftp

user@host $ docker exec -it sftp-import passwd sftp

  1. Start containers:

user@host $ docker-compose build && docker-compose up -d

  1. Copy the respective files into sftp-import/home/* directories

ssh-copy-id -i ~/.ssh/id_ed25519.pub -p 2222 sftp@hostname

ssh-copy-id -i ~/.ssh/id_ed25519.pub -p 2221 sftp@hostname

Setup SFTP server name

Edit host file to include custom SFTP name sftp-test.local or change the app.config for Bursar, Fianance, and AccountSync programs to reflect docker SFTP host name.

Building dotnet container

First edit the respective appsettings.json file to reflect the proper SFTP settings for Bursar, Finance & AccountSync.

Bursar

user@host $ docker build --rm --pull -t alma-intergration-bursar -f docker/Dockerfile/bursar .

Finance

user@host $ docker build --rm --pull -t alma-intergration-finance -f docker/Dockerfile/finance .

Account Sync

user@host $ docker build --rm --pull -t alma-intergration-account-sync -f docker/Dockerfile/account-sync .

Running containers

Bursar

user@host $ docker build --rm --pull -t alma-intergration-bursar -f docker-app/Dockerfile-Bursar .

Finance

user@host $ docker build --rm --pull -t alma-intergration-finance -f docker-app/Dockerfile-finance .

Account Sync

user@host $ docker build --rm --pull -t alma-intergration-account-sync -f docker-app/Dockerfile-AccountSync .

alma-integration-tools's People

Contributors

ja-beb avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.