💾How to hide and store securely 24 words online — (Part 2)
This article is part of a series. Check out the full series: Part 1 . After reading the Part 2, you will be able to deploy the bip39seed project and run it through a local http web server.
Bip39seed is a static Single-page application (SPA) it do not need to make server requests when the user navigates. However, the application still needs a server to provide the initial files for the application to render. A static site is the simplest kind of website you can build. Static sites are written in HTML, CSS and sometimes little JavaScript. They are stored in the filesystem of a server and are delivered to the user exactly as stored.
Firstly you need NodeJS to install lite-server, it is a lightweight development web server with support for Single Page Apps (SPAs).
- Nodejs. download from : https://nodejs.org/en/download/
- Git. download from: https://git-scm.com/downloads
- In Windows 10 open a terminal (Click the “Start” button and type “cmd.” Right-click “Cmd,” select “Run as Administrator” and click “Yes” to open Command Prompt with elevated privileges.)
- Use the commands
git clone https://github.com/t-palmer/www-lite-server.git
cd www-lite-server
npm install
Click on https://github.com/orfeomorello/bip39seed and then click on the green Clone or Download button. You can unzip the file in www-lite-server folder or you can configure the server Base Directory in bs-config file and then you can install lite-server in one place and point it at any other project.
Type the command in the terminal
npm start
This command will start the lightweight development only node server that serves a web app, opens it in the browser and it will serve up the local index.html