Skip to content
An open-source document management tool for enterprise self host.
Ruby JavaScript HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
app
bin Add LDAP Omniauth Authorization Mar 19, 2019
config
db
docs
lib
log
pro
public
storage
test
tmp Init project Sep 30, 2018
vendor
.babelrc
.dockerignore
.eslintrc
.gitignore
.license-key.pub Implement License feature Feb 14, 2019
.postcssrc.yml
.rubocop.yml
.ruby-version
.travis.yml Build use Ruby 2.6.3 Jul 3, 2019
Gemfile jbuilder, awesome_nested_set use newest Gem Oct 15, 2019
Gemfile.lock
LICENSE Update LICENSE Mar 14, 2019
README.md Change database.yml config use rails default database configuration Jul 15, 2019
Rakefile Fix CircleCI config make CI running (#15) Dec 6, 2018
babel.config.js
config.ru Init project Sep 30, 2018
docker-compose.yml
jsconfig.json ESLint fix Apr 24, 2019
package.json
postcss.config.js
yarn.lock

README.md

BlueDoc

Build Status

Development

Setup base development env have two approach

Default admin user: admin@bluedoc.io 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
You can’t perform that action at this time.