bash script to write useful commands for Crisalix enviroment, you can run servers for Crisalix Microservices from any folder in your terminal
- clone the repo
git clone https://github.com/stefanomarch/crisalix_commands.git
- go to the folder
cd crisalix_commands
- make it executable
chmod +x crisalix_commands.sh
modify the path in the file "crisalix_commands.sh" with your path , by default is set to:
BASE_DIR="$HOME/Work/crisalix" #Change this path with your Crisalix path
- change the path with your Crisalix path
source the file in your ~/.bashrc or ~/.zshrc
echo "source $HOME/crisalix_commands/crisalix_commands.sh" >> ~/.zshrc
source your ~/.bashrc or ~/.zshrc
source ~/.zshrc
- from any folder you can run the following commands:
my_start # start my server
sso_start # start sso server
estetix_start # start estetix server
admin_start # start admin server
galderma_start # start galderma server
core_start # start core server
If you want to add any other command, you can do it in the file "crisalix_commands.sh" and then run the following commands:
source ~/.zshrc # or source ~/.bashrc