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
*.backupfile in the the parent directory - setup a light configuration based in the osrd scripts if you don't have a
*.backupfile
- 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/front directory
this script will setup a fresh installation of the osrd-ui project by:
- remove the
node_modulesin theosrd/frontdirectory if they exist - list all
/front/ui-*Subdirectories - remove the
node_modules,distdirectories eachui-*Subdirectory if they exist - run
npm installin the/frontdirectory - run
npm run build-uiin the/frontdirectory
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.