How do I start my grails app locally?
To run the app with admin authority, try:
sudo grails -Dserver.port.https=443 -Dserver.port=80 run-app -https
And the message said:
Error /Users/admin does not appear to be part of a Grails application.
So, you are not in the right project directory to run that command.
For example, your project directory is /Users/admin/workspace/myProject, you should cd
to that path. If your ls
command show you some contents like:
application.properties scripts testsrc stacktrace.log web-appgrails-app targetlib target-eclipse
then you can issue the first run-app command.