Erika Yano d7c0b5b8ef tos | 1 kuukausi sitten | |
---|---|---|
.gitlab | 2 vuotta sitten | |
.yarn | 1 kuukausi sitten | |
build | 1 vuosi sitten | |
changelog.d | 1 kuukausi sitten | |
config | 1 kuukausi sitten | |
docs | 1 vuosi sitten | |
images | 1 kuukausi sitten | |
instance | 1 kuukausi sitten | |
public | 1 kuukausi sitten | |
src | 1 kuukausi sitten | |
static | 1 kuukausi sitten | |
test | 2 kuukautta sitten | |
tools | 9 kuukautta sitten | |
.babelrc | 2 vuotta sitten | |
.browserslistrc | 2 kuukautta sitten | |
.editorconfig | 8 vuotta sitten | |
.eslintignore | 8 vuotta sitten | |
.eslintrc.js | 2 vuotta sitten | |
.gitattributes | 1 vuosi sitten | |
.gitignore | 1 vuosi sitten | |
.gitlab-ci.yml | 2 kuukautta sitten | |
.mailmap | 3 vuotta sitten | |
.node-version | 2 vuotta sitten | |
.stylelintrc.json | 1 vuosi sitten | |
.yarnrc.yml | 1 kuukausi sitten | |
BREAKING_CHANGES.md | 5 vuotta sitten | |
CHANGELOG.md | 2 kuukautta sitten | |
COFE_OF_CONDUCT.md | 7 vuotta sitten | |
CONTRIBUTORS.md | 1 vuosi sitten | |
LICENSE | 8 vuotta sitten | |
README.md | 1 vuosi sitten | |
build.sh | 1 kuukausi sitten | |
image-1.png | 1 vuosi sitten | |
image.png | 1 vuosi sitten | |
index.html | 1 kuukausi sitten | |
package.json | 1 kuukausi sitten | |
postcss.config.js | 5 vuotta sitten | |
preview.style.js | 4 kuukautta sitten | |
renovate.json | 2 vuotta sitten | |
yarn.lock | 1 kuukausi sitten |
Highly-customizable frontend designed for Pleroma.
To translate Pleroma-FE, use our weblate server: https://translate.pleroma.social/. If you need to add your language it should be added as a json file in src/i18n/ folder and added in a list within src/i18n/languages.js.
Pleroma-FE will set your language by your browser locale, but you can change language in settings.
You don't need to build Pleroma-FE yourself. Those using the Pleroma backend will be able to use it out of the box. Information of customizing PleromaFE settings/defaults is in our guide and in case you want to build your own custom version there's another
# install dependencies
npm install -g yarn
yarn
# serve with hot reload at localhost:8080
yarn dev
# build for production with minification
yarn build
# run unit tests
yarn unit
You can create file /config/local.json
(see example) to enable some convenience dev options:
target
: makes local dev server redirect to some existing instance's BE instead of local BE, useful for testing things in near-production environment and searching for real-life use-cases.staticConfigPreference
: makes FE's /static/config.json
take preference of BE-served /api/statusnet/config.json
. Only works in dev mode.FE Build process also leaves current commit hash in global variable ___pleromafe_commit_hash
so that you can easily see which pleroma-fe commit instance is running, also helps pinpointing which commit was used when FE was bundled into BE.
Set configuration settings in AdminFE, additionally you can edit config.json. For more details see documentation.