No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Deploying to GitHub Pages on a repository level

    Help
    4
    7
    1094
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      meenahoda last edited by meenahoda

      Hi all,

      I’ve tried following the guide on deploying on GitHub Pages. However, we are trying to use this on a repository level for our Viewscript repo and it doesn’t seem to work in the same way. The guide appears to assume that Github pages is working at the organization level, and not the repo level?

      I ran quasar build in our viewscript-to-playpen package and copied the contents of the dist/spa-mat directory into the docs directory on the root of the repo. (See image below to explain)
      0_1535453247041_928f756a-fadc-4ef6-b37b-79db58c2e143-image.png

      But as you can see here when visiting the page, there’s lots of 404 errors on the console and nothing appears on the page.

      0_1535453664798_593ab69a-8b20-46d8-837b-65925e3608ef-image.png

      Clicking on one of those errors, for example /css/2.c843d111.css:1, takes us to:
      https://wmfs.github.io/css/2.c843d111.css
      when it should be (as the following link works):
      https://wmfs.github.io/viewscript/css/2.c843d111.css

      I’m guessing we have to assign the path in some config somewhere?

      Any help would be appreciated, thank you! 🙂

      1 Reply Last reply Reply Quote 2
      • rstoenescu
        rstoenescu Admin last edited by

        Hi, I see you’re using “/viewscript” as public path. Did you set that in quasar.conf > build > publicPath: ‘viewscript’ ?

        1 Reply Last reply Reply Quote 0
        • M
          meenahoda last edited by

          Hey,
          I hadn’t but that has worked wonderfully now!
          Thank you very much 🙂

          1 Reply Last reply Reply Quote 1
          • rstoenescu
            rstoenescu Admin last edited by

            And nice project. Ping me when you get it ready – I wanna make some “noise” about it on Twitter 😉

            1 Reply Last reply Reply Quote 0
            • qyloxe
              qyloxe last edited by

              Hmm ViewScript looks quite promising, but this license - GPLv3… why?

              T 1 Reply Last reply Reply Quote 0
              • T
                Tim @qyloxe last edited by Tim

                Thank you @qyloxe 😀 !

                FYI we agonised over the licence for a long time, everything else we’re developing is MIT.

                Being a public-funded Fire Service in the UK, with a small dev team writing OSS is really rare, and we’re finding our way.
                We’re really wanting to keep things open.
                But there are other [financial] pressures at play here. We did write a blog exploring all of this, if you’re interested…

                https://tymly.io/blog/752/

                Does adopting GPLv3 solve any of this? Does it make it worse? We’re not sure TBH. The idea was it would help keep things open and stop private industry closing things.

                We are looking at getting some legal help to do the right thing… if you’ve any advice, or reasons we could use use to move back to MIT then please drop me a DM, we’d really appreciate any input. We’re certainly not adverse to changing licenses to attract more contributions or improve governance around ViewScript.

                qyloxe 1 Reply Last reply Reply Quote 0
                • qyloxe
                  qyloxe @Tim last edited by

                  @tim
                  hmm: British, small team, public-funded, 30 years of “service” - definitely looks to me like a front for secret operations 🙂

                  But honestly, I’m very glad that you chose quasar. GPLv3 or not, it seems that IT is your way of life. Life as a whole. Greets!

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post