Skip to content

prernawaghray/GL-TechDocs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TechDocs - Document Management System

It is a dockerized, mobile-ready, offline-storage compatible, JS-powered Latex editor.

  • Marketing Pages [Home, Features, Help/FAQ, Pricing, Register, Login ]
  • Dashboard Pages [Dashboard-Home/MyDocuments, User Account, Latex Document Editor, Trash]

Features

  • Signup & Login With email-passowrd or with Google Account
  • Realtime Preview while editing the Latex document
  • Save, Edit, View, Mark As Draft, Publish
  • Sync Documents with Dropbox, Google Drive
  • Share with specific permissions
  • Manage Trash
  • Download PWA Application into Mobile/Desktop

Tech

Backend

TechDocs backend is built on these open source softwares:

  • [Python] : General purpose coding
  • Python Flask : For API endpoint handling
  • [SQLAlchemy] : SQL Operations
  • [MySQL] : Database
  • [Mailjet] : SMTP server

Frontend

TechDocs fronted uses a number of open source projects

  • Bootstrap : great UI boilerplate for modern web apps
  • Python Flask : For URL Based Routing & Rendering HTML Templates
  • jQuery - UI/UX Actions/Events on HTML Documents
  • LatexJS - JS Library to preview latex document

Installation

[Frontend]

git clone https://github.com/prernawaghray/GL-TechDocs.git
cd GL-TechDocs/frontend

# Check the code in start.sh and make sure if port is 56733 for dev purpose and 80/443 for production purpose
sudo bash start.sh

# Docker container[techdocs-frontend] will be built & it will run. Get into docker and install node packages
docker exec -it techdocs-frontend bash
npm install
exit

Check http://localhost:56733 in the browser.

[Backend]

#On your AWS EC2 instance, run the following commands:

cd /home/ec2-user

mkdir -p /techdocs_filesystem/log

touch /techdocs_filesystem/log/filemanager.log

git clone https://github.com/prernawaghray/GL-TechDocs.git

cd GL-TechDocs/backend

#Update the docker-compose.yml file line#11 with below:
/home/ec2-user/techdocs_filesystem:/tmp

docker-compose up --build --scale app=3 -d

License

Free Software, Hell Yeah!