Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 1.51 KB

README.md

File metadata and controls

48 lines (30 loc) · 1.51 KB

Works-magnet

Discord Follow license GitHub release (latest SemVer) deployment website SWH

Retrieve and promote the scholarly works of your institution.

Build for production

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

Requirements

node >= 20

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.