Files
caprover/dev-scripts/dev-clean-run-as-dev-macos-step-2.sh
Kasra Bigdeli 8a5d3f9738 Release 1.13 (#2166)
* Fixed https://github.com/caprover/caprover/issues/2112

* Updated changelog

* Force rebuild to capture the frontend change

* Updated changelog

* added fallback ip for installation if public ip not found

* Added project definition to the config

* Added project router

* Updated apps router

* Fixed update path

* Added parent ID for projects

* Typo fix

* Not allow parent to be deleted if there are sub projects

* Fixed typo in string template

* Allow register project to accept description

* Added functionality to remove multiple projects

* Fixed the project deletion

* Fixed the project deletion

* Close https://github.com/caprover/caprover/issues/2153

* Added changelog

* updated changelog

* Updated changelog

* Better error

* Force build

* add MariaDB to README.md

* Improved MacOs startup

* Added theme on backend (#2161)

* Added theme on backend

* Added themes

* Added another theme

* Updated changelog

* Reformat

* Improved dev code

* Improved dev code

* Added another theme

* Updated packages (#2165)

* Updated packages

* Updated packages

* Fixed formatting

* Fixed tests

* Returning project upon creation

* Preparing release

* updated frontend

* Added some test to fix node 20

* Revert "Added some test to fix node 20"

This reverts commit 18a59794b8.

* Updated changelog

---------

Co-authored-by: Robert Silén <robert.silen@mariadb.org>
2024-10-19 10:24:36 -07:00

21 lines
597 B
Bash
Executable File

#!/bin/sh
if ! [ $(id -u) ] <>0; then
echo "Must not be run as sudo or root on macos (macos security) please run the step 1 as root and this step as standard user"
exit 1
fi
pwd >currentdirectory
docker service rm $(docker service ls -q)
sleep 1
docker secret rm captain-salt
docker build -t captain-debug -f dockerfile-captain.debug .
docker run \
-e "CAPTAIN_IS_DEBUG=1" \
-e "MAIN_NODE_IP_ADDRESS=127.0.0.1" \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /captain:/captain \
-v $(pwd):/usr/src/app captain-debug
sleep 2s
docker service logs captain-captain --follow