https://github.com/federicoceratto/nim_project_maker
Initialize a Nim project directory
https://github.com/federicoceratto/nim_project_maker
debian microservice nim nim-lang nim-language nimble service systemd ubuntu
Last synced: 19 days ago
JSON representation
Initialize a Nim project directory
- Host: GitHub
- URL: https://github.com/federicoceratto/nim_project_maker
- Owner: FedericoCeratto
- Created: 2017-11-15T22:30:01.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-15T22:30:23.000Z (over 7 years ago)
- Last Synced: 2025-04-12T07:45:44.822Z (19 days ago)
- Topics: debian, microservice, nim, nim-lang, nim-language, nimble, service, systemd, ubuntu
- Language: Nim
- Size: 3.91 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
=== Nim project maker
Initialize a Nim project directory
.Features:
- create project directory
- initialize git
- copy template files, including:
- nim.cfg including hardening flags
- systemd service file
- Debian (and derivatives) packaging structure. Create system user and running directory.
- Example unit test
- Example codeA new project can build and install a working daemon straight away.
.Requirements:
- git, with the user.name and user.email globals
- optional: GH_USERNAME env var - if set a GitHub remote is configured
- optional: dpkg-buildpackage, debi to build and install Debian packages.Install:
[source, bash]
----
nimble install nim_project_maker
----.Usage:
[source, bash]
----
nim_project_maker
----The project name can contain mixed case and underscore but no hypens or spaces.
The name used for the module, binary, system user will be lowercase and without underscores..Deb build and install
[source, bash]
----
nim_project_maker
nimble build_deb
nimble install_debsudo systemctl status
sudo journalctl -f --identifier=
----