Refactored.
This commit is contained in:
parent
f4a49ad4b9
commit
9dad75464b
37 changed files with 667 additions and 247 deletions
|
|
@ -50,7 +50,7 @@ tasks:
|
|||
silent: true
|
||||
cmds:
|
||||
- |
|
||||
if ! docker network inspect maple-dev >/dev/null 2>&1; then
|
||||
if ! docker network inspect mapleopentech-dev >/dev/null 2>&1; then
|
||||
echo "❌ Infrastructure not running!"
|
||||
echo ""
|
||||
echo "Start it with:"
|
||||
|
|
@ -58,7 +58,7 @@ tasks:
|
|||
echo ""
|
||||
exit 1
|
||||
fi
|
||||
if ! docker ps | grep -q maple-cassandra-1-dev; then
|
||||
if ! docker ps | grep -q mapleopentech-cassandra-1-dev; then
|
||||
echo "❌ Cassandra not running!"
|
||||
echo ""
|
||||
echo "Start it with:"
|
||||
|
|
@ -89,7 +89,7 @@ tasks:
|
|||
deps: [build]
|
||||
cmds:
|
||||
- echo "⚠️ Dropping keyspace 'maplepress'..."
|
||||
- docker exec maple-cassandra-1-dev cqlsh -e "DROP KEYSPACE IF EXISTS maplepress;"
|
||||
- docker exec mapleopentech-cassandra-1-dev cqlsh -e "DROP KEYSPACE IF EXISTS maplepress;"
|
||||
- echo "✅ Keyspace dropped"
|
||||
- echo "🔄 Running migrations to recreate schema..."
|
||||
- ./maplepress-backend migrate up
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue