This project is based on the the yet-another-password-manager from marcusklaas
-
Clone the repository:
$ git clone https://github.com/JordyMoos/elm-yapm-client.git
-
Install the dependencies:
$ npm install
-
Set up the yapm php server (https://github.com/marcusklaas/yapm-server)
-
Set the password api endpoint in
config.json
-
Build the client:
With yarn
$ yarn prod
With npm
$ npm run prod
The resulting file
index.html
will be in thedist
directory. -
Place the html file on your webserver and chmod it
555
Clone
$ git clone https://github.com/marcusklaas/yapm-server.git
$ cd yapm-server
$ composer install
Run in with php
$ php -S localhost:8001
All requests to /server will be proxied by the webpack devServer to localhost:8001
$ yarn install
$ yarn dev
Then goto localhost:3000
in the browser.
All keys set in the config.json
can be overridden with environment variables from their snakecased-upper name.
For example; to override maxIdleTime
you can set the environment variable MAX_IDLE_TIME
.