mariellelilja / NexaViewEmloyeeIntranet

A fictive company's intranet website
2 stars 0 forks source link

NexaView Emloyee Intranet 👥👥💼 NexaView Logo

A fictive company's intranet build on Umbraco, Razor, and vue.JS, with automating scripts and CI/CD.

Iteration Backlog

NexaView Employee Intranet Iterations

CI runs 🔄

.NET CodeQL Node.js CI Vue.s CI
All -> Project Workflows, Github Actions

More Automation âš™

I have written scripts for:

Run as Umbraco with embedded Vue

  1. Navigate to vue application and build it

    cd IntraUmbracoProject\IntraUmbracoProject\ClientApp\app
    npm run build

    2a. Once buildt, navigate to MainPage.cshtml to manually update reference hashes in filenames of the stylesheet tag and script tag...:

    cd IntraUmbracoProject\IntraUmbracoProject\Views

    2b. ...to adhere to file names in wwwroot of Umbraco project, as in the folders css and js:

    cd IntraUmbracoProject\IntraUmbracoProject\wwwroot\css
    cd IntraUmbracoProject\IntraUmbracoProject\wwwroot\js

    The file path should look like the following, with a new hash if files are changed:

    • "~/css/app.{hash}.css"
    • "~/js/app.{hash}.js"
  2. Run Umbraco

    cd IntraUmbracoProject\
    dotnet run

Run Vue frontend app separately

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build