1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
Go to file
2020-06-03 15:33:04 +02:00
.github change roadmap by feedback 2019-12-11 15:02:57 +01:00
app WIP: Test the mime type of a file 2020-06-03 15:33:04 +02:00
bin app:update for 5.2 2020-03-31 11:28:00 +02:00
config check the file content with mimemagic for project CAD files 2020-06-03 12:28:04 +02:00
db configure default_host & default_protocol from env 2020-06-02 18:29:24 +02:00
doc configure default_host & default_protocol from env 2020-06-02 18:29:24 +02:00
docker configure default_mail_from from the UI 2020-06-01 12:15:16 +02:00
lib configure default_host & default_protocol from env 2020-06-02 18:29:24 +02:00
log init depot fabmanager 2015-05-05 03:10:25 +02:00
plugins extracting navi_gami from fab-manager repo 2016-05-26 15:13:36 +02:00
provision upgrade to ruby 2.6 2020-05-18 10:28:30 +02:00
public [ongoing] change user role 2020-05-04 18:32:25 +02:00
scripts fix running tests 2020-03-30 10:59:11 +02:00
setup configure default_host & default_protocol from env 2020-06-02 18:29:24 +02:00
test configure default_host & default_protocol from env 2020-06-02 18:29:24 +02:00
vendor/assets admin set its customized html template for the home page & can reset it to factory value 2020-01-22 11:53:40 +01:00
.dockerignore update to rails 5.0.7.2 2020-03-25 12:35:07 +01:00
.eslintignore eslint & package.json 2018-10-25 12:38:32 +02:00
.eslintrc boolean-setting directive + eslint on .js.erb + refactored book_overlapping_slots using the new directive 2020-05-25 12:55:01 +02:00
.gemrc Do not generate docs for gems 2018-02-14 12:47:49 -06:00
.gitignore update to rails 5.0.7.2 2020-03-25 12:35:07 +01:00
.nvmrc eslint problems autofixes 2018-11-21 10:59:07 +01:00
.rspec init depot fabmanager 2015-05-05 03:10:25 +02:00
.rubocop.yml changed rubocop rules for code complexity 2020-03-04 15:41:01 +01:00
.ruby-gemset restore gemset 2020-03-02 08:42:26 +01:00
.ruby-version upgrade to ruby 2.6 2020-05-18 10:28:30 +02:00
3rd-PARTY-LICENSES.md harmonize Fab-manager trademark syntax 2020-02-26 10:19:43 +01:00
Capfile init depot fabmanager 2015-05-05 03:10:25 +02:00
CHANGELOG.md fix avatar refresh on update 2020-06-03 10:21:13 +02:00
Cheffile clarified doc about setup of database.yml 2016-03-31 21:16:11 +02:00
coffeeerb.list removed erb suffixes 2018-10-25 13:06:09 +02:00
config.ru release 2.0 rc 2016-03-23 18:39:41 +01:00
CONTRIBUTING.md harmonize Fab-manager trademark syntax 2020-02-26 10:19:43 +01:00
crowdin.yml Update Crowdin configuration file 2019-12-11 12:42:47 +01:00
Dockerfile install bundler before use in dockerfile 2020-05-18 11:08:06 +02:00
env.example configure default_host & default_protocol from env 2020-06-02 18:29:24 +02:00
Gemfile Bump puma from 3.12.4 to 3.12.6 2020-05-25 09:28:30 +00:00
Gemfile.lock updated carrierware + validate file upload in front 2020-06-02 17:57:24 +02:00
Guardfile init depot fabmanager 2015-05-05 03:10:25 +02:00
LICENSE.md unbranding LaCasemate 2019-03-26 14:04:45 +01:00
package.json boolean-setting directive + eslint on .js.erb + refactored book_overlapping_slots using the new directive 2020-05-25 12:55:01 +02:00
Procfile Now using MailCatcher with docker instead of maildev 2020-04-14 12:19:39 +02:00
Rakefile init depot fabmanager 2015-05-05 03:10:25 +02:00
README.md updated README 2020-05-25 12:55:00 +02:00
Vagrantfile fixes development readme to use .env instead of application.yml 2020-04-29 17:41:11 +02:00
yarn.lock boolean-setting directive + eslint on .js.erb + refactored book_overlapping_slots using the new directive 2020-05-25 12:55:01 +02:00

Fab-manager

Fab-manager is the Fab Lab management solution. It provides a comprehensive, web-based, open-source tool to simplify your administrative tasks and your marker's projects.

Coverage Status Docker pulls Docker Build Status Crowdin

Table of Contents
  1. Software stack
  2. Contributing
  3. Setup a production environment
  4. Setup a development environment
  5. Internationalization (i18n)
  6. Open Projects
  7. Plugins
  8. Single Sign-On
  9. Known issues
  10. Related Documentation

Software stack

Fab-manager is a Ruby on Rails / AngularJS web application that runs on the following software:

  • Ubuntu LTS 14.04+ / Debian 8+
  • Ruby 2.6
  • Redis 2.8.4+
  • Sidekiq 3.3.4+
  • Elasticsearch 5.6
  • PostgreSQL 9.6

Contributing

Contributions are welcome. Please read the contribution guidelines for more information about the contribution process.

Setup a production environment

To run Fab-manager as a production application, you must follow the procedure described in the production readme. This procedure is using Docker-compose to manage the application and its dependencies.

Setup a development environment

In you intend to run Fab-manager on your local machine to contribute to the project development, you can set it up by following the development readme. This procedure relies on Docker-compose to set-up the dependencies.

Optionally, you can use a virtual development environment that relies on Vagrant and Virtual Box by following the virtual machine instructions.

Internationalization (i18n)

The Fab-manager application can only run in a single language but this language can easily be changed.

Please refer to the translation readme for instructions about configuring the language or to contribute to the translation.

Open Projects

This configuration is optional.

You can configure your Fab-manager to synchronize every project with the Open Projects platform. It's very simple and straightforward and in return, your users will be able to search over projects from all Fab-manager instances from within your platform. The deal is fair, you share your projects and as reward you benefits from projects of the whole community.

If you want to try it, you can visit this Fab-manager and see projects from different Fab-managers.

To start using this awesome feature, there are a few steps:

  • send a mail to contact@fab-manager.com asking for your Open Projects client's credentials and giving them the name of your Fab-manager, they will give you an OPENLAB_APP_ID and an OPENLAB_APP_SECRET
  • fill in the value of the keys in your environment file
  • start your Fab-manager app
  • export your projects to open-projects (if you already have projects created on your Fab-manager, unless you can skip that part) executing this command: bundle exec rake fablab:openlab:bulk_export

IMPORTANT: please run your server in production mode.

Go to your projects gallery and enjoy seeing your projects available from everywhere ! That's all.

Plugins

Fab-manager has a system of plugins mainly inspired by Discourse architecture.

It enables you to write plugins which can:

  • have its proper models and database tables
  • have its proper assets (js & css)
  • override existing behaviours of Fab-manager
  • add features by adding views, controllers, ect...

To install a plugin, you just have to copy the plugin folder which contains its code into the folder plugins of Fab-manager.

You can see an example on the repo of navinum gamification plugin

Single Sign-On

Fab-manager can be connected to a Single Sign-On server which will provide its own authentication for the platform's users. Currently, OAuth 2 is the only supported protocol for SSO authentication.

For an example of how to use configure an SSO in Fab-manager, please read sso_with_github.md.

Known issues

Before reporting an issue, please check if your issue is not listed in the know issues with its solution.