dgncan / atomic-deployment

Yet another an atomic deployment tool
12 stars 0 forks source link

Dynamic path for deploy.py #1

Open adamerol opened 4 years ago

adamerol commented 4 years ago

Return error, when I run test-deploy.sh at out of project directory.

I run; ~: ./atomic-deployment/test-deploy.sh dep local

I got; cp: cannot stat 'deploy.py': No such file or directory ./atomic-deployment/test-deploy.sh: line 3: cd: example-project: No such file or directory python: can't open file 'deploy.py': [Errno 2] No such file or directory

dgncan commented 4 years ago

You should run that inside atomic-deployment project directory; ~: ./test-deploy.sh dep local This is for testing purposes only. To use it in your own project, you should take the deplop.py file to the root folder of your own project and run deploy.py dep local or deploy.py dep test. I hope helped you.