Hi!
I've done almost everything to deploy my Django project and the only thing left is to setup the static files. But evertime i try to execute collecstatic there is some problem with the environment variables.
So used "echo 'set -a; source ~/my-project-dir/.env; set +a' >> ~/.virtualenvs/my-project-virtualenv/bin/postactivate" changing of course the correct paths.
But I think bash has a problem recognizing the .env file and it thinks that the characters in the secret key are something else. The error says:
bash: /home/switchcalendar/switchcalendar/.env: line 1: syntax error near unexpected token `here ispart of my secret key'
I hope you guys can help me :)