问题描述
我已从 playframework.org 网站复制压缩文件并将其解压缩到某个位置.我已将它插入到我的 .bashrc 配置文件中以设置为 PATH 环境.
I have copied zipped file from the playframework.org website and unzipped it at a location.I have inserted it in my .bashrc profile to set up as PATH environment.
但仍然无法从任何地方访问播放命令.
But still, the play command is not accessible from anywhere.
即使在框架的安装目录中,播放文件也没有按原样运行.
And even in the installed directory of the framework, the play file is not running as it is.
我必须在任何播放命令之前加上 python 前缀才能运行它.
I have to prefix python before any play command to run it.
我是不是在某处犯了错误?
Am i making a mistake somewhere?
请帮帮我.
推荐答案
得到答案!通过键入
sudo mv play-1.0.1 /opt/play
然后给出另一个命令
source /etc/profile
现在可以从 shell 的任何地方运行 play 命令..
And now one can run play command from anywhere in the shell..
这篇关于在 Ubuntu 9.10 中安装 play-framework的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!