mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-03 04:29:40 +00:00
No description
Helpers.js\moment.js included. Alogos are still BROKEN. I'm deploying them here for testing. |
||
|---|---|---|
| css | ||
| img | ||
| require.js-example | ||
| script | ||
| .gitignore | ||
| favicon.ico | ||
| package.json | ||
| README.md | ||
Shared resources useful for the multiple HabitRPG repositories, that way all the repositories remain in-sync with common charactaristics. Includes things like:
- Assets - sprites, images, etc
- CSS - especially, esp. sprite-sheet mapping
- Algorithms - level up algorithm, scoring functions, etc
- Item definitions - weapons, armor, pets
##Installation
- Node.js - just include files as usual.
- Browser - use requre.js with "cs" plugin to include files directly into your index.html see require.js-example folder. (run plain http-server from within equire.js-example folder and point your browser to index.html to see how it works)
##CSS Shared CSS between the website and the mobile app is a fuzzy area. For now we'll have the website define canonical CSS, and share that down the mobile app.
To do so,
- go to the website repo
- remove the first line
@import nib/vendorfrom index.styl stylus styles/app/index.styl- copy the output index.css into this shared/css directory
- remove bootstrap @improrts, find/replace "img/" with "../img/"