How to Install EveryDocs on Windows 10
This tutorial will guide you through the process of installing EveryDocs on your Windows 10 computer. EveryDocs is an open-source document management system that provides users with a simple, secure, and easy-to-use platform for managing and organizing their documents.
Prerequisites
Before we start the installation process, there are a few prerequisites that we need to take care of. Please make sure you have the following:
- A Windows 10 computer
- Git
- Java JDK 11 or later
- MySQL database
Steps
Step 1: Clone EveryDocs Repository
The first step is to clone the EveryDocs repository from Github. To do this, follow these steps:
Open the command prompt on your Windows 10 computer.
Navigate to the directory where you want to clone the EveryDocs repository.
Run the following command:
git clone https://github.com/jonashellmann/everydocs-core.git
Step 2: Install MySQL Database
The next step is to install the MySQL database on your Windows 10 computer. To do this, follow these steps:
- Download the MySQL Community Server installer from the official website.
- Run the installer and follow the installation wizard.
- During the installation process, choose the "Developer Default" option.
- Set a root password when prompted.
Step 3: Create MySQL Database and User
Once MySQL is installed, we need to create a new database and a user that will be used by EveryDocs. To do this, follow these steps:
Open the MySQL Command Line Client.
Log in using the root user and password that you set during the installation process.
Create a new database by running the following command:
CREATE DATABASE everydocs;Create a new user by running the following command:
CREATE USER 'everydocs'@'localhost' IDENTIFIED BY 'password';Note: Replace "password" with a secure password of your choice.
Grant all privileges to the everydocs user by running the following command:
GRANT ALL PRIVILEGES ON everydocs.* TO 'everydocs'@'localhost';
Step 4: Configure EveryDocs
The next step is to configure EveryDocs. To do this, follow these steps:
Open the "application.properties" file in a text editor. This file can be found in the "src/main/resources" directory of the cloned EveryDocs repository.
Update the following fields with your MySQL database information:
spring.datasource.url=jdbc:mysql://localhost:3306/everydocs spring.datasource.username=everydocs spring.datasource.password=passwordNote: Replace "password" with the password you set for the everydocs user in Step 3.
Save and close the "application.properties" file.
Step 5: Build and Run EveryDocs
The final step is to build and run EveryDocs. To do this, follow these steps:
Open the command prompt on your Windows 10 computer.
Navigate to the directory where you cloned the EveryDocs repository.
Run the following command to build EveryDocs:
./mvnw clean installOnce the build is complete, run the following command to start EveryDocs:
./mvnw spring-boot:runEveryDocs should now be running on your Windows 10 computer. You can access it by opening a web browser and navigating to http://localhost:8080/.
Congratulations! You have successfully installed EveryDocs on your Windows 10 computer.