Giter Site home page Giter Site logo

Install how to about briefing HOT 6 CLOSED

nikpakar avatar nikpakar commented on May 19, 2024
Install how to

from briefing.

Comments (6)

holtwick avatar holtwick commented on May 19, 2024

The magic happens in the .htaccess file for Apache: https://github.com/holtwick/briefing/blob/master/web/.htaccess

But you can also better use the PWA distribution. Start with npm run pwa:serve and npm run pwa:build for distribution under ngs folder: https://github.com/holtwick/briefing/blob/master/package.json#L24

You should adopt the settings for your needs of just use https://brie.fi/ng directly.

from briefing.

nikpakar avatar nikpakar commented on May 19, 2024

Thank you so much for the guide. managed to work around the .htaccess.

But still it seems /app/index.html not seems executing to dist folder. Just giving url not found when rewrite happens with the room name.

i have my apache directory mapped to the web folder.

from briefing.

holtwick avatar holtwick commented on May 19, 2024

The folder is /ngs. See this setting https://github.com/holtwick/briefing/blob/master/vue.config.js#L40

from briefing.

nikpakar avatar nikpakar commented on May 19, 2024

Thanks again and sorry for the trouble. It doesnt even mount to /ngs. simply says not found when re-write occurred. .htaccess is working fine and all 3 rules works properly. when the last rule /ng/roomid attempt to rewrite it cant find the mount point

from briefing.

nikpakar avatar nikpakar commented on May 19, 2024

Sorry for been blind, after much effort found out my error. and now managed to get the PWA up and running directly on my root folder. On PWA whats the format of the join in url as it seems its not appending to the home url like in /ng

join in link from the window still shows as /ng/roomid even while im connecting to the PWA

from briefing.

holtwick avatar holtwick commented on May 19, 2024

The new code is online. No more hacking required. All is a PWA now and a simple .htaccess example is also available here https://github.com/holtwick/briefing/blob/master/public/.htaccess#L23

from briefing.

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.