Skip to content

A webpage for users to manage their webgme account and projects.

License

Notifications You must be signed in to change notification settings

webgme/user-management-page

Repository files navigation

Build Status Version license

A webpage for users to manage their webgme account and projects.

webgme-user-management-page runs as a dependency of webgme and is available at <host>/profile when authentication is enabled. The purpose is to allow for registration and login, project authorization of other users/organizations, and creation of organizations as well as member/admin control for those organizations.

For instructions on webgme authentication and user-management see this demo on youtube.

Since webgme v2.15.0 you can easily fork and modify this page to fit your needs and replace the mounted user-management-page point to your customization.

WebGME-User-Management-Page

Developers

Steps to run as an external REST router within WebGME

WebGME requires NodeJS (14 <= version, CI tests are performed on versions 16, 18) and MongoDB (version >= 2.6) installed on the host system (the server). In addition the npm installation requires Git to be installed and available in PATH.

  1. Ensure dependencies are installed and mongodb is running on default port
  2. Install dependencies npm install
  3. Optionally - set environment variable for webpack: set NODE_ENV=development linux: NODE_ENV=development
  4. Run webpack npm run webpack -- -w (-w will watch the files and make incremental builds)
  5. Start (webgme) server npm start (NODE_ENV should not be set)
  6. From a browser visit http://localhost:8888/usermanagement/

Webpack file listener

To build client side bundle on file changes invoke

webpack -w

or if not installed globally

npm run webpack -- -w
Publish

First update the changelog:

github_changelog_generator --user webgme --project user-management-page --future-release v0.6.0 -t bla-bla-..

Delete all unversioned files in /dist/**

npm prune
npm install
npm version 0.5.0 -m "Release %s"
git push origin master
git checkout v0.5.0
git push origin v0.5.0
npm publish ./