Coder Social home page Coder Social logo

Comments (9)

SuperSandro2000 avatar SuperSandro2000 commented on May 23, 2024 1

I am not 100% sure but I think the https://del.dog in this needs to be dropped.

from dogbin.

SuperSandro2000 avatar SuperSandro2000 commented on May 23, 2024 1

I will do a PR in a few minutes and then it will be in the next version.
It was also a bit more complicated than I thought.
If you can't wait then you would need to do:

  1. Clone my fork and checkout the branch of the PR
  2. Build the dogbin image with docker build . -t dogbin/dogbin
  3. run docker-compose

Also there is https://github.com/dogbin/dogbin/blob/master/app/resources/templates/includes/base.peb#L39 left which I don't currently know how to fix. Maybe @deletescape can do that?

The PR is #13

from dogbin.

codywarmbo avatar codywarmbo commented on May 23, 2024 1

That is fantastic. I can be patient. Thanks so much!

from dogbin.

nyancrimew avatar nyancrimew commented on May 23, 2024 1

The remaining instances of the del.dog domain in Templates should be fixable by getting the host via the config which is already wired into the template logic

from dogbin.

codywarmbo avatar codywarmbo commented on May 23, 2024

Thanks, if I'm using the docker, do you know how I can access that file to change it?

from dogbin.

SuperSandro2000 avatar SuperSandro2000 commented on May 23, 2024

This file is compiled into the jar. You need to change it and recompile the jar/docker image.

from dogbin.

codywarmbo avatar codywarmbo commented on May 23, 2024

Seems a little more complex than I hoped! Any tips where to look/start for accomplishing that?

from dogbin.

SuperSandro2000 avatar SuperSandro2000 commented on May 23, 2024

I must admit I have no idea how to do this.

from dogbin.

pavog avatar pavog commented on May 23, 2024

@SuperSandro2000

I think index.peb contains a good example for this.

To sum it up:
Use {# @pebvariable name="appConfig" type="dog.del.app.config.AppConfig" #} at the beginning of each template file that contains the host (statically) to setup the appConfig and use appConfig.host in all the places where you want to replace the del.dog domain.

from dogbin.

Related Issues (20)

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.