Git Product home page Git Product logo

install's Introduction

LibreRead Manual Setup

In order to setup LibreRead, you must have SSH access to a 64-bit Linux server.

Hardware Requirements

  • Modern single core CPU, dual core recommended
  • 1GB RAM minimum
  • 64 bit Linux compatible with Docker

Software Requirements

  • Debian 9
  • ElasticSearch 5.0 (optional)
  • Redis 3.2

Create New Cloud Server

Sign up for Linode, update billing info, then create your new cloud server.

  • Add Linode 2048
  • Select a Location of your choice. Probably the one that is nearer to you.
  • Now that the linode has been added. Go to Dashboard and click "Deploy an Image".
  • Choose Debian 9, then select 512MB swap image and enter the root password (This password will be used when you login via SSH)
  • Once the "Host Job Queue" is done. You can click "Boot" to boot your linode.
  • Once the server is running, go to "Remote Access" and copy the SSH Access. Eg: ssh [email protected]
  • Paste it in your local terminal and enter "yes" to add it to the known hosts. Then you need to enter the password.

Now you have logged in to your linode. Please follow the below installation instructions for installing LibreRead.

Install

  • apt-get update
  • apt-get install -y git-core
  • git clone https://github.com/LibreRead/install.git /var/libreread
  • cd /var/libreread
  • source install.sh

You will be prompted for Domain and SMTP settings. Once you have entered those prompts, the script will install and start the server at http://ip_address:8080

Domain setup with NGINX and Let's Encrypt

Now that the server is ready, we are going to setup the domain. Point to Linode Docs or your hosting providers documentation for dns settings. This might take up to 24 hours for the change to take effect.

Once the dns settings is ready, run the below command from the project root directory for setting up your NGINX reverse proxy with Let's Encrypt SSL certificates.

source domain.sh

Once this command is finished, you could point to your domain address, eg: https://example.com

Enable full-text search with ElasticSearch

By default, LibreRead will provide a simple metadata search. But if you need full-text search feature to search across all the book content, you will need to setup Docker and ElasticSearch. For this to work smoothly we would recommend atleast 2GB RAM on your instance. Run the command shown below from the project root directory.

source docker_es.sh

install's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.