Question

How to deploy Play! app with Dokku

Posted June 23, 2014 2.8k views

Dear community!
I try to deploy Play! app with Dokku. I use this tutorial - https://www.digitalocean.com/community/tutorials/how-to-use-the-dokku-one-click-digitalocean-image-to-run-a-play-app . But when I type command
git push remotename master
I got error :
“fatal: ‘app
name’ does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.”
What shall I do?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

probably you missed git repo creation

from tutorial ———-

Now, change directories to your project root and initiate a git repository:

cd ~/app_name
git init
Now, add all of the project files into git and commit the changes:

git add .
git commit -m ‘Initial Commit’

end of tutorial ——-

Submit an Answer