64e41910ec
invoices tour: do not show listing steps if invoicing is disabled + typo |
||
---|---|---|
.github | ||
app | ||
bin | ||
config | ||
db | ||
doc | ||
docker | ||
lib | ||
log | ||
plugins | ||
provision | ||
public | ||
scripts | ||
setup | ||
test | ||
vendor/assets | ||
.dockerignore | ||
.eslintignore | ||
.eslintrc | ||
.gemrc | ||
.gitignore | ||
.nvmrc | ||
.rspec | ||
.rubocop.yml | ||
.ruby-gemset | ||
.ruby-version | ||
3rd-PARTY-LICENSES.md | ||
Capfile | ||
CHANGELOG.md | ||
Cheffile | ||
coffeeerb.list | ||
config.ru | ||
CONTRIBUTING.md | ||
crowdin.yml | ||
Dockerfile | ||
Gemfile | ||
Gemfile.lock | ||
Guardfile | ||
LICENSE.md | ||
package.json | ||
Procfile | ||
Rakefile | ||
README.md | ||
Vagrantfile | ||
yarn.lock |
FabManager
FabManager 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.
Table of Contents
- Software stack
- Contributing
- Setup a production environment
- Setup a development environment
- Internationalization (i18n)
- Open Projects
- Plugins
- Single Sign-On
- Known issues
- Related Documentation
Software stack
FabManager is a Ruby on Rails / AngularJS web application that runs on the following software:
- Ubuntu LTS 14.04+ / Debian 8+
- Ruby 2.3
- 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, this is highly recommended to use Docker-compose. The procedure to follow is described in the docker-compose readme.
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 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 FabManager 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 anOPENLAB_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 a SSO in Fab-manager, please read sso_with_github.md. Developers may find information on how to implement their own authentication protocol in sso_authentication.md.
Known issues
Before reporting an issue, please check if your issue is not listed in the know issues with its solution.