@boklisten/bl-login
v1.2.24
Published
`bl-login` is a login and registration module for Boklisten.no. This README is for development and technical documentation. For a deep-dive into what `bl-login` is and can do [please read our documentation](https://github.com/boklisten/bl-doc/blob/mas
Downloads
45
Readme
bl-login
bl-login
is a login and registration module for Boklisten.no. This README is
for development and technical documentation. For a deep-dive into what
bl-login
is and can do please read our
documentation
Requirements
- Python <3.11 or fix node-gyp
How to run
- Clone this repo to your own computer
git clone https://github.com/boklisten/bl-login
- Navigate into the newly created
bl-login
folder - Install npm modules
npm i
- Ensure that
bl-api
is running onhttp://localhost:1337
- You will not be able to test login or register if
bl-api
is not running.
- You will not be able to test login or register if
- Start application locally with
npm run watch
- You should now be able to view
bl-login
on localhost:4200
Development
NPM scripts
npm run watch
Runs the application and can be viewed on localhost:4200.
npm run pub
Builds and publishes the bl-login
module to npm.
npm run extract-i18n
Extracts all i18n
tags from all the html files and puts them into three
differnet xlf
-file under ./src/locale
.
Build files
./xliffmerge.json
This is the settings file for i18n
the translator ngx-i18nsupport
. Read
more.