Cowboy Learning Notes (Installation and Deployment)

Source: Internet
Author: User

Install Cowboy, refer to official documentation: http://ninenines.eu/docs/en/cowboy/1.0/guide/getting_started/

Add dependent libraries: added in makefile, will be compiled automatically. Added in Gateway.app.src, the compilation system will find the corresponding compilation library copy to the working directory in this file. Makefile added is the name of the library directory, GATEWAY.APP.SRC added is the application name, careless will be written wrong.

There are some problems in the process of adding dependent libraries.

Issue One: "Git clone error", if the makefile added a dependent library, if the Deps folder can not find the corresponding library, the default from the Git repository clone, so you need to install Git. Installation may not be possible yet, the server SSL certificate may not be signed by a third party. So, before executing makefile, add env git_ssl_no_verify=true, this time ignoring SSL authentication.

question two: "Unable to automatically git clone dependency library", first go to GitHub to search this library, and then manually git clone down. Or do not install git at all, directly wget down to extract to the Deps folder.

question three: "Some standard library applications cannot be started, such as SASL", gateway.app.src add SASL. At compile time, the SASL compilation library is copied to the working directory. If you want to customize the SASL configuration file, copy the SASL library under the installation directory to the Deps directory. and modify the Sasl.app file for the Ebin directory. Similarly, the SASL compilation library is copied to the working directory at compile time.

Cowboy Learning Notes (Installation and Deployment)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.