diff options
| author | Luc Donnet | 2013-05-27 14:52:07 +0200 | 
|---|---|---|
| committer | Luc Donnet | 2013-05-27 14:52:07 +0200 | 
| commit | 08d099e6b8d0cf7214da0b79ec71ca2d12049d53 (patch) | |
| tree | 35aa50bb7512da1734755d5c17ca776f53d65cf1 | |
| parent | baf4983fce9de9f1d4b8b288f23c39ef86f51e69 (diff) | |
| download | chouette-core-08d099e6b8d0cf7214da0b79ec71ca2d12049d53.tar.bz2 | |
Init the refactoring of documents
| -rw-r--r-- | CHANGELOG.md | 26 | ||||
| -rw-r--r-- | LICENSE.md (renamed from README.textile) | 33 | ||||
| -rw-r--r-- | README.md | 104 | ||||
| -rw-r--r-- | doc/install/jruby.md | 37 | ||||
| -rw-r--r-- | doc/install/postgresql.md | 12 | 
5 files changed, 180 insertions, 32 deletions
| diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 000000000..fa6b60fa0 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,26 @@ +# V2.0.3 + +* Ajout des imports/export NeTex +* Fonctionnement sous windows +* Prise en compte de grandes quantités de calendriers. +* Reprise des logs d'import Neptune + +# V2.0.2 + +* Ajout de l'import GTFS (expérimental, ne traite pas les stations) +* Ajout d'API Rest pour accéder aux données depuis une autre application + +# V2.0.1 + +* Ajout de la gestion des groupes de lignes +* Ajout de la gestion des accès et des relations arrêts-accès +* Ajout d'une vue calendaire des calendriers d'application +* Améliorations ergonomiques et cartographiques +* L'import Neptune accepte les principaux formats d'encodage : ISO-8859-1, UTF-8, ... + +# V2.0.0 + +* refonte de l'interface graphique +* ajout d'une gestion simplifiée d'utilisateurs : +** ajout d'une notion d'organisation +** ajout d'une notion d'espace de données diff --git a/README.textile b/LICENSE.md index 94a4d75c9..e94decb4a 100644 --- a/README.textile +++ b/LICENSE.md @@ -1,6 +1,4 @@ -h1. Chouette2 !https://travis-ci.org/dryade/chouette2.png?branch=master!:https://travis-ci.org/dryade/chouette2 !https://codeclimate.com/badge.png!:https://codeclimate.com/github/dryade/ninoxe - -h2. Licence +# Licence  Copyright "AFIMB":http://www.developpement-durable.gouv.fr/Presentation-de-l-AFIMB.html @@ -31,32 +29,3 @@ As a counterpart to the access to the source code and rights to copy, modify and  In this respect, the user's attention is drawn to the risks associated with loading, using, modifying and/or developing or reproducing the software by the user in light of its specific status of free software, that may mean that it is complicated to manipulate,and that also therefore means that it is reserved for developers and experienced professionals having in-depth computer knowledge. Users are therefore encouraged to load and test the software's suitability as regards their requirements in conditions enabling the security of their systems and/or data to be ensured and, more generally, to use and operate it in the same conditions as regards security.   The fact that you are presently reading this means that you have had knowledge of the CeCILL-B license and that you accept its terms. - -h2. Notes de version - -h3. V2.0.3  - -* Ajout des imports/export NeTex  -* Fonctionnement sous windows -* Prise en compte de grandes quantités de calendriers. -* Reprise des logs d'import Neptune - -h3. V2.0.2  - -* Ajout de l'import GTFS (expérimental, ne traite pas les stations) -* Ajout d'API Rest pour accéder aux données depuis une autre application - -h3. V2.0.1  - -* Ajout de la gestion des groupes de lignes -* Ajout de la gestion des accès et des relations arrêts-accès -* Ajout d'une vue calendaire des calendriers d'application -* Améliorations ergonomiques et cartographiques -* L'import Neptune accepte les principaux formats d'encodage : ISO-8859-1, UTF-8, ... - -h3. V2.0.0  - -* refonte de l'interface graphique -* ajout d'une gestion simplifiée d'utilisateurs : -** ajout d'une notion d'organisation -** ajout d'une notion d'espace de données diff --git a/README.md b/README.md new file mode 100644 index 000000000..1c05715e2 --- /dev/null +++ b/README.md @@ -0,0 +1,104 @@ +# Chouette2 [](http://travis-ci.org/dryade/chouette2?branch=master) [](https://gemnasium.com/dryade/chouette2) [](https://codeclimate.com/github/dryade/chouette2) + +Chouette2 is a web project in Ruby/Rails and can : +* Exchange transport data : Neptune, GTFS, Netex, CSV +* Edit transport data +* Validate transport data +* Offer a Rest API +* Import and Export Data asynchronously                 + +Requirements +------------ +  +This code has been run and tested on [travis](http://travis-ci.org/dryade/chouette2?branch=master) with :  +* Ruby 1.8.7 +* JRuby 1.6.8 (oraclejdk7, openjdk7, openjdk6) + +External Deps +------------- +On Debian/Ubuntu/Kubuntu OS :  +```sh +sudo apt-get install postgresql  +sudo apt-get install pgadmin3  +sudo apt-get install openjdk-7-jdk  +sudo apt-get install git  +``` + +Installation +------------ +  +Install [Postgres] (https://github.com/dryade/chouette2/install/postgresql.md) +Install [JRuby] (https://github.com/dryade/chouette2/install/jruby.md) + +Get git code :  +```sh +cd workspace +git clone -b V2_0_3 git://github.com/dryade/chouette2 +``` + +Install chouette-gui-command +sudo mkdir -p /usr/local/opt/chouette-command/ +cd /usr/local/opt/chouette-command/ + +sudo unzip /home/chouette/workspace/chouette/chouette-gui-command/target/chouette-cmd_2.0.3.zip +sudo mv chouette-cmd_2.0.3 chouette-gui-2.0.3 +cd chouette-cmd_2.0.3 +sudo chmod a+x chouette +sudo chmod a+w . + + +**JRuby** + +Install dependencies +```sh  +sudo apt-get install tomcat7 +sudo apt-get install proj-bin +sudo apt-get install libproj-dev +sudo apt-get install make +``` +Build War ( Use RAILS_ENV production mode and parameters ) +```sh  +jgem install bundler --version 1.2.4 +jgem install jruby-openssl  +bundle install --path vendor/bundle +bundle exec rake war +``` + +Install war file ( Use RAILS_ENV production mode and parameters ) +```sh  +sudo cp chouette2.war /var/lib/tomcat7/webapp/. +sudo mkdir -p /var/lib/chouette/imports +sudo mkdir -p /var/lib/chouette/exports +sudo mkdir -p /var/lib/chouette/validations +sudo chmod a+x /var/lib/chouette/imports /var/lib/chouette/exports /var/lib/chouette/validations +``` + +**Ruby** +```sh +gem install bundler +bundle exec rake db:create +bundle exec rake jobs:work +bundle exec rails server +``` + + +More Information +---------------- +  +More information can be found on the [project website on GitHub](http://github.com/dryade/chouette2).  +There is extensive usage documentation available [on the wiki](https://github.com/dryade/chouette2/wiki). + +Example Usage  +------------ + + +License +------- +  +This project is licensed under the CeCILL-B license, a copy of which can be found in the LICENSE file. + + +Support +------- +  +Users looking for support should file an issue on the GitHub issue tracking page (https://github.com/dryade/chouette2/issues), or file a pull request (https://github.com/dryade/chouette2/pulls) if you have a fix available. diff --git a/doc/install/jruby.md b/doc/install/jruby.md new file mode 100644 index 000000000..ff3cb9024 --- /dev/null +++ b/doc/install/jruby.md @@ -0,0 +1,37 @@ +# Install JRuby 1.6.8  + +Download JRuby on http://www.jruby.org/download +```sh +mkdir application +``` +Copy jruby-bin-1.6.8.tar.gz in application +```sh +cd application +tar xfz jruby-bin-1.6.8.tar.gz +``` +Create a repository jruby-1.6.8 +```sh +ln -s jruby-1.6.8 jruby +``` + +Add to path application/jruby/bin +```sh +cd +vi .profile +``` +Add this in the file :  +```sh  +if [ -d "$HOME/application/jruby/bin" ] ; then +   PATH="$HOME/application/jruby/bin":$PATH +fi +``` + +Apply Profile +```sh +. .profile +``` + +Test JRuby +```sh +jruby -v +```
\ No newline at end of file diff --git a/doc/install/postgresql.md b/doc/install/postgresql.md new file mode 100644 index 000000000..204aec33f --- /dev/null +++ b/doc/install/postgresql.md @@ -0,0 +1,12 @@ +# Install Postgresql + +Setup +----- + +```sh +sudo su - postgres +createuser -d -P -U postgres chouette +Enter password for new role: chouette +Enter it again: chouette +Shall the new role be a superuser? (y/n) y +```
\ No newline at end of file | 
