Git Product home page Git Product logo

kurki's Introduction

kurki13

Riippuvuuksien asennus lokaaliin maven-repositorioon (suorita hakemistossa lib)

mvn install:install-file -Dfile=ojdbc7-12.1.0.jar -DgroupId=com.oracle -DartifactId=ojdbc7 -Dversion=12.1.0 -Dpackaging=jar

Testiversio https://ilmo.cs.helsinki.fi/t_kurki/servlet/index

deployment

siirto staging-ympäristöön

siirto tuotantoympäristöön

development

Muuta tarvittaessa db-url tiedostoon src/main/webapp/WEB_INF/kurki.cnf (tiedosto ei ole repositoriossa!)

Sovellus urlissa http://localhost:8080/kurki13/servlet/index

tietokanta

tuotanto svm-1.cs.helsinki.fi:1521:ope

testikanta svm-1.cs.helsinki.fi:1521:opetest2

Molemmissa käyttäjätunnus tk_opha salasana ks. palvelinten kurki.cnf

tietokantaskeema

Ks https://github.com/UniversityOfHelsinkiCS/opetushallinto/tree/master/db

Dokumentoi skeeman muutokset tiedostoon https://github.com/UniversityOfHelsinkiCS/opetushallinto/blob/master/db/opha_taulut_x.sql

SQL-proseduurit

Päivitetyt proseduurit hakemistossa https://github.com/UniversityOfHelsinkiCS/opetushallinto/tree/master/db

Muut https://github.com/UniversityOfHelsinkiCS/opetushallinto/tree/master/kurki13/plsql

Kantaan talletettujen proseduurien koodi selviää esim. kyselyllä

SELECT text 
FROM all_source
where name = 'RYHMAVAIHTO'
order by line

proseduurin päivitys

Suorita proseduurin koodi sql-developerin konsolissa. Sen jälkeen komento commit saa muutoksen voimaan.

Local stuff

ssh -L 1521:localhost:9997 melkki.cs.helsinki.fi

ssh -L 9997:svm-1.cs.helsinki.fi:1521 -i key [email protected]

Niin lokaalisti toimii sqlplus /nolog ja connect ...@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=localhost)(Port=1521))(CONNECT_DATA=(SID=ope)))

Ez asennusohjeet tolle sqlplussalle oli https://zwbetz.com/install-sqlplus-on-a-mac/ (bumppaa itse versionumerot)

kurki's People

Contributors

jakousa avatar qzuw avatar

Watchers

James Cloos 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.