Skip to content

bobinush/web-archiver

 
 

Repository files navigation

Arkivdium

About

A live demo of this application can be found at http://dv-rpi2.lnu.se

Running the Application

This application depends on httrack, that must be installed before you can actually use this application.

  1. Clone this repository or download the .zip file.
  2. Extract folder to preferred location.

Starting the server

  1. Open up the terminal in the folder.
  2. Install the required dependencies by typing npm install
  3. Create a .env file for the environment variables, with the following content
{
  SERVER_DOMAIN="http://localhost:3000"
  EMAIL_PASS="YOUR_EMAIL_PASSWORD"
  EMAIL_USER="YOUR_EMAIL"
  IS_RUNNING_LINUX_OS="SET_TO_true_OR_false"
  JWT_SECRET="A_RANDOM_SECRET"
  MONGODB="YOUR_MONGODB_CONNECTION_STRING"
  SESSION_SECRET="A_RANDOM_SECRET"
  PORT=3000
  ARCHIVES_FOLDER="archives"
  PREVIEWS_FOLDER="previews"    
}
  1. Start the application by typing npm start (or npm run dev for development)
  2. The application is now running at http://localhost:3000

Build for production

  • Build the client files for production by typing npm run build

This will create a folder named dist (stands for distribution). The folder will include a bundled / minified version of the JavaScript and CSS.

About

En arkiveringstjänst för webbplatser.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 58.8%
  • HTML 35.6%
  • CSS 5.6%