launch them while you're in osrd directory
this script gives you the ability to choose between two options or both:
- setup the docker configuration:
- remove all the containers
- remove all the images
- remove all the volumes
- setup a new configuration based on the docker-compose.yml file or the host configuration file if you give at least one argument and run the project on a linux system
- setup data:
- restore a backup if you have a single
*.backup
file in the the parent directory - setup a light configuration based in the osrd scripts if you don't have a
*.backup
file
- restore a backup if you have a single
Caution
You should not use this script automatically, its only purpose is to help you in a last resort situation or for first setup if you're not familiar with the project
launch them while you're in osrd-ui directory
this script will setup a fresh installation of the osrd-ui
project by:
- remove the
node_modules
and thepackage-lock.json
in theosrd-ui
directory if they exist - list all
ui-*
Subdirectories - remove the
node_modules
,dist
directories and thepackage-lock.json
file in eachui-*
Subdirectory if they exist - run
npm install
in theosrd-ui
directory - run
npm run build
in theosrd-ui
directory
this script will:
- create a new annotated tag if:
- you give it a tag name as an argument
- the tag name follows the pattern
*.*.*
where*
is a number - the tag name is not already used
- push the tag to the remote repository
this repository is a collection of scripts that will help you to manage the OSRD project and the OSRD-UI project.
it's not part of the OSRD project itself,
it's just a helper for the developers who are contributing to the project.
This project is licensed under the GNU Lesser General Public License. See the LICENSE file for more details.