Comments (7)
Thank you @janCstoffregen for your input. I think, we will integrate Kuirl into the docker-compose file of Knora one day.
from dsp-das.
I began working on something, but it is not finished yet: https://github.com/dasch-swiss/knora-docker-app. It will use the new Dockerapp feature.
The idea is to be able to start only the services which are needed for ones work. For example, if someone wants to work on Knora-API, then he would start the whole stack minus the Knora-API. The same if someone wants to work on Kuirl, then he would need the whole stack minus Kuirl.
from dsp-das.
ok, then it's already on the way, I'm looking forward to it!
The Dockerfile for an angular app is very simple btw, just compile it with ng build and then copy the dist to a proxy - docker - image.
You don't have to build the angular app in the docker image, that causes lot's of extra stress because the yarn / npm packages have different problems on a Dockerfile with a different OS underneath, just build it locally on your macbook, generate the docker image and push it to dockerhub once in a while.
That's my experience at least, please correct me if I'm wrong, I know it would be nicer in an automated way but it does not work for me without extra effort at the moment, so it does not save time in my case in the end.
I don't know the new Dockerapp feature and will check it out, thank you for the hint!
from dsp-das.
We build all our Angular apps automatically through docker. You can take a look at https://github.com/dhlab-basel/Kuirl/blob/master/Dockerfile
Every time we set a tag on this repository, Dockerhub starts building the image into this repository: https://cloud.docker.com/u/daschswiss/repository/docker/daschswiss/knora-app-web
from dsp-das.
This requires that you can provide the config to your application at runtime and not buildtime. We build the app once and then deploy it in different environments.
from dsp-das.
I tried the "build once deploy anywhere" way, André told me that you're successfully doing this, I'll have to have a look, when I tried it, I stored the different configurations in the asset folder, sometimes the environment variables were not loaded fast enough, I have to check out your solution!
I only checked out the dhlab docker hub, thank you for pointing this repo out, then it's already available as a docker image as well, that's quite nice.
I'll wait for the dockerapp then, thank you very much, please feel free to close this issue if it is at the wrong repo, I know now where to check the status of this.
from dsp-das.
I think we can close this issue
from dsp-das.
Related Issues (20)
- Clean up dev/ folder
- Add unit tests
- Add unit tests HOT 2
- [Knora-app resource viewer mockup] What is the point for the resource path ? HOT 4
- [Knora-app resource viewer mockup] Unsure of the meaning of some icons in the property view? HOT 5
- [Knora-app resource viewer mockup] What exactly does the hyperlink icon stands for in the property view? HOT 3
- [Knora-app resource viewer mockup] Unsure of the meaning of some icons in the property view? (2) HOT 2
- [Knora-app resource viewer mockup] Incoming links and annotation in the same tab/panel HOT 2
- [Knora-app resource viewer mockup] Hoovering over a property triggers the comments HOT 4
- [Knora-app resource viewer mockup] Missing mandatory rdfs:label property HOT 4
- [Knora-app resource viewer mockup] properties-viewer-create-mode : reset button HOT 1
- [Knora-app resource viewer mockup] properties-viewer-create-mode : hint message HOT 2
- [Knora-app resource viewer mockup] properties-viewer-read-create-edit-mode : the annotation panel takes a lot of space HOT 1
- [Knora-app resource viewer mockup] properties-viewer : how to delete a resource? HOT 2
- [Knora-app resource viewer mockup] properties-viewer-read-create-edit-mode : how to set specific permission on the value of a property ? HOT 4
- Responsive style issue in project admin view HOT 1
- Refactor material icons
- Redundant configuration HOT 2
- Unsupported HTML tags in rich text editor HOT 2
- requests to create a list fails for projects with IRIs not in the form rdfh.ch/projects/shortcode HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dsp-das.