The webapp for the CollabVM Server
Not fully functional yet, so this won't/shouldn't be pushed onto the site yet (no language dropdown, there are still quite a few hardcoded strings that need to become string keys ...) but it works more than well enough to at least test and add more things as string keys that are currently hardcoded. There are two languages provided, "en-us" and "pirate". Pirate is a test language to make sure all string keys are applying properly and all that. As a bonus the new I18n system also offers a slightly less boneheaded way to do replacements, which is much more flexible than blind replace calls, and can take any type which is able to be stringified. The parsing code for this is far from my best work, but it'll do for now, and seems to work okay (and has basic idiot proofing), so eh. Supersedes #13. |
||
|---|---|---|
| src | ||
| static/lang | ||
| .gitignore | ||
| .npmrc | ||
| .parcelrc | ||
| .prettierignore | ||
| .prettierrc.json | ||
| Config.ts | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| webapp.png | ||
CollabVM 1.2 Webapp 2.0
The CollabVM Web App is the viewer for the CollabVM Server, currently in beta
Building
Edit Config.ts to your needs, then:
npm inpm run build
The build output directory is dist/
Serving
Just drop the contents of dist/ somewhere into our webroot. For testing purposes, you can throw up a quick test webserver with the following command
npm run serve
