cli installation #1200

Closed
opened 2025-11-02 03:52:12 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @stephanfriedrich on GitHub (Nov 1, 2017).

Hi
iam using ansible to install gitea on my raspberrypi.
it would be nice if there is a way to install gitea not only via web-wizard but also via cli.

Originally created by @stephanfriedrich on GitHub (Nov 1, 2017). Hi iam using ansible to install gitea on my raspberrypi. it would be nice if there is a way to install gitea not only via web-wizard but also via cli.
Author
Owner

@Morlinest commented on GitHub (Nov 1, 2017):

I think you can create app.ini file and admin user using ansible. Something as creating app.ini through docker env variables.

@Morlinest commented on GitHub (Nov 1, 2017): I think you can create `app.ini` file and admin user using ansible. Something as creating app.ini through docker env variables.
Author
Owner

@stephanfriedrich commented on GitHub (Nov 1, 2017):

thx for your reply, but i dont use docker. i use ansible with an plain raspberrypi server.

@stephanfriedrich commented on GitHub (Nov 1, 2017): thx for your reply, but i dont use docker. i use ansible with an plain raspberrypi server.
Author
Owner

@aoyawale commented on GitHub (Nov 2, 2017):

you can template app.ini and use get_url to download the binary and the init/systemd file.

@aoyawale commented on GitHub (Nov 2, 2017): you can template `app.ini` and use get_url to download the binary and the init/systemd file.
Author
Owner

@stephanfriedrich commented on GitHub (Nov 2, 2017):

@jlozadad @Morlinest
ah ok sorry, you are right.
its really simple i only need to create a giteaUserPath/custom/conf/app.ini with correct data and with that the server starts without wizard-configuration.
as you explained i created an admin account with gitea admin command

thx for your help, maybe you should update or extend the gitea documentation

@stephanfriedrich commented on GitHub (Nov 2, 2017): @jlozadad @Morlinest ah ok sorry, you are right. its really simple i only need to create a `giteaUserPath/custom/conf/app.ini` with correct data and with that the server starts without wizard-configuration. as you explained i created an admin account with `gitea admin` command thx for your help, *maybe you should update or extend the gitea documentation*
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1200