webgme-user-management-page
v0.6.0
Published
User management page for webgme
Downloads
501
Readme
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.
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.
- Ensure dependencies are installed and mongodb is running on default port
- Install dependencies
npm install
- Optionally - set environment variable for webpack:
set NODE_ENV=development
linux:NODE_ENV=development
- Run webpack
npm run webpack -- -w
(-w
will watch the files and make incremental builds) - Start (webgme) server
npm start
(NODE_ENV
should not be set) - 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 ./