kopia lustrzana https://github.com/rtts/django-simplecms
Oops
rodzic
5ddf0c7e0e
commit
ac26eea81c
|
@ -5,7 +5,7 @@ test -d $dev/$1 && echo "That project already exists!" && exit 1
|
|||
|
||||
mkdir $1 && cd $1
|
||||
pip3 freeze > requirements.txt
|
||||
example_dir=$(python3 -c 'import os,examples;print(os.path.dirname(example.__file__))')
|
||||
example_dir=$(python3 -c 'import os,example;print(os.path.dirname(example.__file__))')
|
||||
cp -r $example_dir/{project,app,manage.py} .
|
||||
sed -i s/example/$1/ project/settings.py
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue