14 lines
335 B
Bash
14 lines
335 B
Bash
![]() |
#! /usr/bin/env bash
|
||
|
|
||
|
# Exit in case of error
|
||
|
set -e
|
||
|
|
||
|
if [ ! -d ./full-stack-fastapi-postgresql ] ; then
|
||
|
echo "Run this script from outside the project, to generate a sibling dev-fsfp project with independent git"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
rm -rf ./dev-fsfp
|
||
|
|
||
|
cookiecutter --no-input -f ./full-stack-fastapi-postgresql project_name="Dev FSFP"
|