mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-21 15:54:22 +01:00
[ongoing] remove LaCasemate marks
This commit is contained in:
parent
ac57cba8ff
commit
96c3e3173a
@ -13,7 +13,7 @@ patches and features.
|
|||||||
|
|
||||||
## Using the issue tracker
|
## Using the issue tracker
|
||||||
|
|
||||||
The [issue tracker](https://github.com/LaCasemate/fab-manager/issues) is the preferred channel for [bug reports](#bugs)
|
The [issue tracker](https://github.com/sleede/fab-manager/issues) is the preferred channel for [bug reports](#bugs)
|
||||||
and [submitting pull requests](#pull-requests), but please respect the following restrictions:
|
and [submitting pull requests](#pull-requests), but please respect the following restrictions:
|
||||||
|
|
||||||
* Please **do not** use the issue tracker for personal support requests (use [the forum](https://forum.fab-manager.com)).
|
* Please **do not** use the issue tracker for personal support requests (use [the forum](https://forum.fab-manager.com)).
|
||||||
@ -96,7 +96,7 @@ Adhering to the following process is the best way to get your work included in t
|
|||||||
# Navigate to the newly cloned directory
|
# Navigate to the newly cloned directory
|
||||||
cd fab-manager
|
cd fab-manager
|
||||||
# Assign the original repo to a remote called "upstream"
|
# Assign the original repo to a remote called "upstream"
|
||||||
git remote add upstream https://github.com/LaCasemate/fab-manager.git
|
git remote add upstream https://github.com/sleede/fab-manager.git
|
||||||
```
|
```
|
||||||
|
|
||||||
2. If you cloned a while ago, get the latest changes from upstream:
|
2. If you cloned a while ago, get the latest changes from upstream:
|
||||||
@ -131,4 +131,4 @@ Adhering to the following process is the best way to get your work included in t
|
|||||||
7. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/) with a clear title and description.
|
7. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/) with a clear title and description.
|
||||||
|
|
||||||
**IMPORTANT**: By submitting a patch, you agree to allow the project owners to license your work under the terms of
|
**IMPORTANT**: By submitting a patch, you agree to allow the project owners to license your work under the terms of
|
||||||
the [GNU Affero General Public License](LICENSE.md).
|
the [GNU Affero General Public License](LICENSE.md).
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
FabManager is the FabLab management solution. It is web-based, open-source and totally free.
|
FabManager is the FabLab management solution. It is web-based, open-source and totally free.
|
||||||
|
|
||||||
[](https://coveralls.io/github/LaCasemate/fab-manager)
|
[](https://coveralls.io/github/sleede/fab-manager)
|
||||||
[](https://hub.docker.com/r/sleede/fab-manager/)
|
[](https://hub.docker.com/r/sleede/fab-manager/)
|
||||||
[](https://hub.docker.com/r/sleede/fab-manager/builds)
|
[](https://hub.docker.com/r/sleede/fab-manager/builds)
|
||||||
|
|
||||||
@ -102,7 +102,7 @@ This procedure is not easy to follow so if you don't need to write some code for
|
|||||||
7. Retrieve the project from Git
|
7. Retrieve the project from Git
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/LaCasemate/fab-manager.git
|
git clone https://github.com/sleede/fab-manager.git
|
||||||
```
|
```
|
||||||
|
|
||||||
8. Install the software dependencies.
|
8. Install the software dependencies.
|
||||||
@ -205,7 +205,7 @@ environment.
|
|||||||
2. Retrieve the project from Git
|
2. Retrieve the project from Git
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/LaCasemate/fab-manager
|
git clone https://github.com/sleede/fab-manager
|
||||||
```
|
```
|
||||||
|
|
||||||
3. From the project directory, run:
|
3. From the project directory, run:
|
||||||
@ -467,7 +467,7 @@ After modifying any values concerning the localisation, restart the application
|
|||||||
|
|
||||||
**This configuration is optional.**
|
**This configuration is optional.**
|
||||||
|
|
||||||
You can configure your fab-manager to synchronize every project with the [Open Projects platform](https://github.com/LaCasemate/openlab-projects).
|
You can configure your fab-manager to synchronize every project with the [Open Projects platform](https://github.com/sleede/openlab-projects).
|
||||||
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.
|
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.
|
The deal is fair, you share your projects and as reward you benefits from projects of the whole community.
|
||||||
|
|
||||||
|
68
db/seeds.rb
68
db/seeds.rb
@ -168,46 +168,48 @@ end
|
|||||||
# end
|
# end
|
||||||
# end
|
# end
|
||||||
|
|
||||||
if Category.count == 0
|
if Category.count.zero?
|
||||||
Category.create!([
|
Category.create!(
|
||||||
{name: 'Stage'},
|
[
|
||||||
{name: 'Atelier'}
|
{ name: 'Stage' },
|
||||||
])
|
{ name: 'Atelier' }
|
||||||
|
]
|
||||||
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
unless Setting.find_by(name: 'about_body').try(:value)
|
unless Setting.find_by(name: 'about_body').try(:value)
|
||||||
setting = Setting.find_or_initialize_by(name: 'about_body')
|
setting = Setting.find_or_initialize_by(name: 'about_body')
|
||||||
setting.value = "<p>Le Fab Lab de <a href=\"http://lacasemate.fr\" target=\"_blank\">La Casemate</a> est un"+
|
setting.value = '<p>La Fabrique du <a href=\"http://fab-manager.com\" target=\"_blank\">Fab-manager</a> est un' \
|
||||||
' atelier de fabrication numérique où l’on peut utiliser des machines de découpe, des imprimantes 3D,… permettant'+
|
' atelier de fabrication numérique où l’on peut utiliser des machines de découpe, des imprimantes 3D,… permettant' \
|
||||||
' de travailler sur des matériaux variés : plastique, bois, carton, vinyle, … afin de créer toute sorte d’objet grâce'+
|
' de travailler sur des matériaux variés : plastique, bois, carton, vinyle, … afin de créer toute sorte d’objet grâce' \
|
||||||
' à la conception assistée par ordinateur ou à l’électronique. Mais le Fab Lab est aussi un lieu d’échange de'+
|
' à la conception assistée par ordinateur ou à l’électronique. Mais le Fab Lab est aussi un lieu d’échange de' \
|
||||||
' compétences technique. </p>'+
|
' compétences technique. </p>' \
|
||||||
" <p>Le Fab Lab de <a href=\"http://lacasemate.fr\" target=\"_blank\">La Casemate</a> est un espace"+
|
' <p>La Fabrique du <a href=\"http://fab-manager.com\" target=\"_blank\">Fab-manager</a> est un espace' \
|
||||||
' permanent : ouvert à tous, il offre la possibilité de réaliser des objets soi-même, de partager ses'+
|
' permanent : ouvert à tous, il offre la possibilité de réaliser des objets soi-même, de partager ses' \
|
||||||
' compétences et d’apprendre au contact des médiateurs du Fab Lab et des autres usagers. </p>'+
|
' compétences et d’apprendre au contact des médiateurs du Fab Lab et des autres usagers. </p>' \
|
||||||
'<p>La formation au Fab Lab s’appuie sur des projets et le partage de connaissances : vous devez prendre'+
|
'<p>La formation au Fab Lab s’appuie sur des projets et le partage de connaissances : vous devez prendre' \
|
||||||
' part à la capitalisation des connaissances et à l’instruction des autres utilisateurs.</p>'
|
' part à la capitalisation des connaissances et à l’instruction des autres utilisateurs.</p>'
|
||||||
setting.save
|
setting.save
|
||||||
end
|
end
|
||||||
|
|
||||||
unless Setting.find_by(name: 'about_title').try(:value)
|
unless Setting.find_by(name: 'about_title').try(:value)
|
||||||
setting = Setting.find_or_initialize_by(name: 'about_title')
|
setting = Setting.find_or_initialize_by(name: 'about_title')
|
||||||
setting.value = 'Imaginer, Fabriquer, <br>Partager au Fab Lab <br> de La Casemate'
|
setting.value = 'Imaginer, Fabriquer, <br>Partager à la Fabrique <br> du Fab-manager'
|
||||||
setting.save
|
setting.save
|
||||||
end
|
end
|
||||||
|
|
||||||
unless Setting.find_by(name: 'about_contacts').try(:value)
|
unless Setting.find_by(name: 'about_contacts').try(:value)
|
||||||
setting = Setting.find_or_initialize_by(name: 'about_contacts')
|
setting = Setting.find_or_initialize_by(name: 'about_contacts')
|
||||||
setting.value = '<dl>'+
|
setting.value = '<dl>' \
|
||||||
'<dt>Manager Fab Lab :</dt>'+
|
'<dt>Manager Fab Lab :</dt>' \
|
||||||
'<dd>jean-michel.molenaar@lacasemate.fr</dd>'+
|
'<dd>jean.dupont@fab-manager.com</dd>' \
|
||||||
' <dt>Responsable médiation :</dt>'+
|
' <dt>Responsable médiation :</dt>' \
|
||||||
' <dd>catherine.demarcq@lacasemate.fr</dd>'+
|
' <dd>pierre.dupond@fab-manager.com</dd>' \
|
||||||
' <dt>Animateur scientifique :</dt>'+
|
' <dt>Animateur scientifique :</dt>' \
|
||||||
' <dd>diego.scharager@lacasemate.fr</dd>'+
|
' <dd>louise.durand@fab-manager.com</dd>' \
|
||||||
' </dl>'+
|
' </dl>' \
|
||||||
'<br><br>'+
|
'<br><br>' \
|
||||||
"<p><a href='http://lacasemate.fr'>Visitez le site de La Casemate</a></p>"
|
"<p><a href='http://fab-manager.com'>Visitez le site de Fab-manager</a></p>"
|
||||||
setting.save
|
setting.save
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -297,11 +299,11 @@ end
|
|||||||
|
|
||||||
unless Setting.find_by(name: 'invoice_legals').try(:value)
|
unless Setting.find_by(name: 'invoice_legals').try(:value)
|
||||||
setting = Setting.find_or_initialize_by(name: 'invoice_legals')
|
setting = Setting.find_or_initialize_by(name: 'invoice_legals')
|
||||||
setting.value = 'La Casemate<br/>'+
|
setting.value = 'La fabrique<br/>' \
|
||||||
'2 Place St Laurent 38000 GRENOBLE France<br/>'+
|
'68 rue Louise Michel 38100 GRENOBLE France<br/>' \
|
||||||
'Tél. Administration : +33 4 76 44 88 80<br/>'+
|
'Tél. : +33 1 23 45 67 98<br/>' \
|
||||||
'Fax. : +33 4 76 42 76 66<br/>'+
|
'Fax. : +33 1 23 45 67 98<br/>' \
|
||||||
'SIRET : 317 270 593 00013 - APE 913 E'
|
'SIRET : 237 082 474 00006 - APE 913 E'
|
||||||
setting.save
|
setting.save
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -365,13 +367,13 @@ end
|
|||||||
|
|
||||||
unless Setting.find_by(name: 'fablab_name').try(:value)
|
unless Setting.find_by(name: 'fablab_name').try(:value)
|
||||||
setting = Setting.find_or_initialize_by(name: 'fablab_name')
|
setting = Setting.find_or_initialize_by(name: 'fablab_name')
|
||||||
setting.value = 'Fab Lab de La Casemate'
|
setting.value = 'Fabrique'
|
||||||
setting.save
|
setting.save
|
||||||
end
|
end
|
||||||
|
|
||||||
unless Setting.find_by(name: 'name_genre').try(:value)
|
unless Setting.find_by(name: 'name_genre').try(:value)
|
||||||
setting = Setting.find_or_initialize_by(name: 'name_genre')
|
setting = Setting.find_or_initialize_by(name: 'name_genre')
|
||||||
setting.value = 'male'
|
setting.value = 'female'
|
||||||
setting.save
|
setting.save
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -457,4 +459,4 @@ unless StatisticIndex.find_by(es_type_key: 'space')
|
|||||||
{statistic_index_id: index.id, key: 'booking', label:I18n.t('statistics.bookings'), graph: true, simple: true},
|
{statistic_index_id: index.id, key: 'booking', label:I18n.t('statistics.bookings'), graph: true, simple: true},
|
||||||
{statistic_index_id: index.id, key: 'hour', label:I18n.t('statistics.hours_number'), graph: true, simple: false}
|
{statistic_index_id: index.id, key: 'hour', label:I18n.t('statistics.hours_number'), graph: true, simple: false}
|
||||||
])
|
])
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user