Skip to content

IHCantabria/RiosConCiencia.Visor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RiosConCiencia.Visor

Visor Web del proyecto RiosConCiencia

Web Proyect

To see a real implementation of this project visit the following url RiosConCiencia.Visor.

Prerequisites

The dependency installation, compilation and tag creation commands are managed from the package.json file and are executed using npm, so it is necessary that the user has npm and node installed with a version compatible with those indicated in the package file "engines" section.

External Dependencies

RiosConCiencia.Visor.App requires RiosConCiencia Api for its correct operation. For more information, access the repositories/docs of each one.

Environment variables in the appsettings

For the correct compilation and operation of the application, it is necessary to configure the following placeholders for the environment variables set in the environment appsettings files:

  • RIOSCONCIENCIA_API_URL -> The base uri in which RiosConCiencia Api is hosted.
  • RIOSCONCIENCIA_APIPROCESS_URL -> The base uri in which RiosConCiencia ApiProcess is hosted.

To perform the replace, one solution is offered.

First: Replace the placeholder values before launching the build scripts.

Local Run

It is possible to run the App locally using the first method to set the values of the environment variables and running the command npm run dev. As an alternative an .env-sample file is provided with an example configuration, you need to create an env.develpment.local and replace the base URI of Apis 100% functionality.

Scripts

Run Local Build

npm run dev

Create a new Tag of the current code version(patch/minor/major), Example: "patch"

npm run deploy-patch

install dependencies

npm run ci

Build and compiles the mode of the project (Pre)

npm run ci
npm run build

Build Output Directory

The output of the npm run build script is located in the "build/pre" folder.

Built With

  • Vue - The progressive javascript framework
  • Vite - Frontend Tooling
  • Rollup - Bundling

Credits

License

This software use: