mirror of
https://github.com/Start9Labs/documentation.git
synced 2026-03-26 10:21:53 +00:00
28 lines
897 B
ReStructuredText
28 lines
897 B
ReStructuredText
.. _service_makefile:
|
|
|
|
****************
|
|
Service Makefile
|
|
****************
|
|
|
|
*This file is optional*
|
|
|
|
A Makefile serves as a convenience for building and for additional developer contributions to your project. Please reference the GNU `documentation <https://www.gnu.org/software/make/manual/html_node/Introduction.html>`_ for implementation details.
|
|
|
|
An alternative to using ``make`` is to use the `nix <https://nixos.wiki/wiki/Nix>`_ specification.
|
|
|
|
This purpose of this file is to:
|
|
|
|
- Read the docker container and build the project
|
|
- Build all prerequisite for running the docker file
|
|
- Build all dependencies
|
|
- Package ``config.yaml``, ``manifest.yaml``, and ``image.tar`` into an ``.s9pk`` extension by invoke ``appmgr``.
|
|
|
|
Example
|
|
=======
|
|
|
|
See an example `here <https://github.com/Start9Labs/lnd-wrapper/blob/master/Makefile>`_.
|
|
|
|
.. role:: raw-html(raw)
|
|
:format: html
|
|
|
|
:raw-html:`<br />` |