All Projects → huacnlee → Bluedoc

huacnlee / Bluedoc

Licence: mit
An open-source document management tool for enterprise self host.

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Bluedoc

Readme
👋 - The documentation for being an Artsy Engineer
Stars: ✭ 380 (-34.37%)
Mutual labels:  documentation, docs, markdown
Mdx Docs
📝 Document and develop React components with MDX and Next.js
Stars: ✭ 412 (-28.84%)
Mutual labels:  documentation, docs, markdown
Foliant
Comprehensive markdown-based documentation toolkit
Stars: ✭ 74 (-87.22%)
Mutual labels:  documentation, docs, markdown
Parse Comments
Parse JavaScript code comments. Works with block and line comments, and should work with CSS, LESS, SASS, or any language with the same comment formats.
Stars: ✭ 53 (-90.85%)
Mutual labels:  documentation, docs, markdown
Press
Minimalist Markdown Publishing for Nuxt.js
Stars: ✭ 181 (-68.74%)
Mutual labels:  documentation, docs, markdown
Docsify Tabs
A docsify.js plugin for rendering tabbed content from markdown
Stars: ✭ 65 (-88.77%)
Mutual labels:  documentation, docs, markdown
Assemble
Community
Stars: ✭ 3,995 (+589.98%)
Mutual labels:  documentation, docs, markdown
Catalog
Create living style guides using Markdown or React
Stars: ✭ 1,527 (+163.73%)
Mutual labels:  documentation, docs, markdown
Verb
HEADS UP! Verb is going though a major transition, we've completely refactored everything from the ground up. If you're interested, please see the dev branch.
Stars: ✭ 442 (-23.66%)
Mutual labels:  documentation, docs, markdown
Typemill
TYPEMILL is a simple and lightweight Flat-File-CMS for authors and publishers.
Stars: ✭ 150 (-74.09%)
Mutual labels:  documentation, docs, markdown
Vuesence Book
Minimalistic Vue.js based documentation system component
Stars: ✭ 48 (-91.71%)
Mutual labels:  documentation, docs, markdown
Docma
A powerful tool to easily generate beautiful HTML documentation from JavaScript (JSDoc), Markdown and HTML files.
Stars: ✭ 287 (-50.43%)
Mutual labels:  documentation, docs, markdown
App
Fast and searchable Ruby docs
Stars: ✭ 47 (-91.88%)
Mutual labels:  documentation, docs, rails
Docnado
Rapid documentation tool that will blow you away...
Stars: ✭ 67 (-88.43%)
Mutual labels:  documentation, docs, markdown
X0
Document & develop React components without breaking a sweat
Stars: ✭ 1,706 (+194.65%)
Mutual labels:  documentation, docs, markdown
Gitdocs
Easy to use, SEO-friendly, beautiful documentation that lives in your git repo.
Stars: ✭ 252 (-56.48%)
Mutual labels:  documentation, docs, markdown
Docsify
🃏 A magical documentation site generator.
Stars: ✭ 19,310 (+3235.06%)
Mutual labels:  documentation, docs, markdown
Website
Yarn package manager website
Stars: ✭ 374 (-35.41%)
Mutual labels:  documentation, docs
Orientation
Your best weapon in the fight against outdated documentation.
Stars: ✭ 361 (-37.65%)
Mutual labels:  documentation, rails
Md To Pdf
Hackable CLI tool for converting Markdown files to PDF using Node.js and headless Chrome.
Stars: ✭ 374 (-35.41%)
Mutual labels:  documentation, markdown

BlueDoc

Test

Development

Setup base development env have two approach

Default admin user: [email protected] password: 123456

Setup with docker

First you must have docker services and start it and then

$ docker-compose up dev

That all depends softwares have ready

Next

$ yarn install
$ bundle install
$ POSTGRES_USER=postgres POSTGRES_HOST=localhost rails db:create db:migrate
$ rails s
$ yarn start #other termal tab
$ sidekiq -C ./config/sidekiq.yml #other termal tab if u need

Now u can open brower and visit bluedoc

More configuration you can look from docker-compose.yml

Setup with local machine

You need install depends softwares first:

$ brew install node imagemagick postgresql elasticsearch redis
$ brew cask install wkhtmltopdf

Setup the default ENV vars to open all features:

export LDAP_HOST=localhost

export OMNIAUTH_GOOGLE_CLIENT_ID=
export OMNIAUTH_GOOGLE_CLIENT_SECRET=

export OMNIAUTH_GITHUB_CLIENT_ID=
export OMNIAUTH_GITHUB_CLIENT_SECRET=

export OMNIAUTH_GITLAB_CLIENT_ID=
export OMNIAUTH_GITLAB_CLIENT_SECRET=
export OMNIAUTH_GITLAB_API_PREFIX=

Start development server:

  • yarn start - to start webpack dev server.
  • rails s - to start rails
$ yarn start

In other Termal tab:

$ rails s

Install plantuml-service

plantuml-service for generate PlantUML image

https://github.com/bitjourney/plantuml-service

$ brew install bitjourney/self/plantuml-service
$ brew services start bitjourney/self/plantuml-service

Generate Admin

$ rails g scaffold_controller admin/repository slug:string name:string user:references description:string

Deployment

#!/usr/bin/env sh
docker stop bluedoc
docker rm bluedoc

bluedoc_root=/tmp/bluedoc
mkdir -p /tmp/bluedoc/data
touch ${bluedoc_root}/data/production.env
docker run --detach \
           --name bluedoc \
           --publish 443:443 --publish 80:80 \
           --restart always \
           --volume ${bluedoc_root}/postgresql:/var/lib/postgresql \
           --volume ${bluedoc_root}/redis:/var/lib/redis \
           --volume ${bluedoc_root}/elasticsearch:/usr/share/elasticsearch/data \
           --volume ${bluedoc_root}/storage:/home/app/bluedoc/storage \
           --volume ${bluedoc_root}/data:/home/app/bluedoc/data \
           --volume ${bluedoc_root}/log:/home/app/bluedoc/log \
           --volume ${bluedoc_root}/tmp:/home/app/bluedoc/tmp \
           --env-file ${bluedoc_root}/data/production.env \
           bluedoc/bluedoc:latest
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].