franciscocoya / lomapes05a_production Goto Github PK
View Code? Open in Web Editor NEWLomap production repository
Home Page: https://franciscocoya.github.io/lomapes05a_production/
License: MIT License
Lomap production repository
Home Page: https://franciscocoya.github.io/lomapes05a_production/
License: MIT License
Para poder desplegar correctamente la aplicaci贸n, se ha creado este repositorio, a partir del repositorio original: https://github.com/Arquisoft/lomap_es5a. Este repositorio contiene ciertas modificaciones que es importante tener en cuenta:
Nuevo fichero para el workflow del depliegue. Denominado ci_production.yml
webapp/package.json
"homepage": "https://franciscocoya.github.io/lomapes05a_production/"
"deploy": "gh-pages -d build"
Cambio de la url base de la aplicaci贸n de http://localhost:3000 a la url de producci贸n. Para ello, se han modificado los siguiente ficheros:
const BASE_PATH = "https://franciscocoya.github.io/lomapes05a_production/";
const app = (
<SessionProvider sessionId="lomap-solid-ssid">
<BrowserRouter basename="/lomapes05a_production">
<App />
</BrowserRouter>
</SessionProvider>
);
const handleRedirect = async (e: any) => {
if (name === "Cerrar sesi贸n") {
e.preventDefault();
sessionStorage.clear();
await session.logout().then(() => {
window.location.href = BASE_PATH;
});
}
navigate(url ?? "#");
};
const handleRedirect = async (e: any) => {
if (name === "Cerrar sesi贸n") {
e.preventDefault();
sessionStorage.clear();
await session.logout().then(() => {
window.location.href = BASE_PATH;
});
}
navigate(url ?? "#");
};
Nota
Se han eliminado los ficheros y comandos realizacionados con el linter
eslint
para facilitar el worflow.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
馃枛 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 馃搳馃搱馃帀
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google 鉂わ笍 Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.