|
|
1
1
钢筋是erlang的构建工具。请通过 https://github.com/rebar/rebar/wiki/Rebar-commands 对于命令。 获得依赖项后,需要“钢筋编译”来编译它。 要使用梁文件,必须使用 Add Path to Erlang Search Path? 然后,您将能够在代码中使用它。 |
|
|
2
1
在这种情况下,请下载您的软件包
下载一个名为 rebar
Add the following to rebar/rebar.config
在rebar/mysql otp目录中运行
这将把一堆.beam文件和.app文件放入ebin/目录 接下来将ebin/目录添加到您的路径中。您可以更新$ERL_LIBS环境变量, run an include command within the erlang console like
或
And theres a few other ways to add it to your Erlang path. 另外,确保还安装了mysql 这里有一些mysql安装说明的链接,对我有用 https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-centos-7 |