Skip to content

dataesr/works-magnet

Repository files navigation

Works magnet

Discord Follow license GitHub release (latest SemVer) Production deployment

Retrieve the scholarly works of your institution.

Build for production

The react client app is served by the node server in production.

Install and run app

Run

npm i && npm start

Web App available at http://localhost:5173/ and API at http://localhost:3000/.

Build app

npm run build

Vite build creates a build in /dist folder. This folder has to be moved to the /server folder.

Deployment

The version number follows semver.

To deploy in production, simply run this command from your staging branch :

npm run deploy --level=[patch|minor|major]

⚠️ Obviously, only members of the dataesr organization have rights to push on the repo.