Commit Graph

31 Commits

Author SHA1 Message Date
4c1cf35afa Turns out mysql_query is in devel lol 2020-04-30 08:16:59 -05:00
a60dbf5062 REALLY fix syntax errors 2020-04-30 08:11:55 -05:00
e3509c0d6c Really fix syntax errors 2020-04-30 08:11:33 -05:00
72e5cbe090 Fix syntax errors 2020-04-30 08:11:03 -05:00
f68c64e467 Fix gitea user not having a shell 2020-04-30 08:10:02 -05:00
0d8f6f4a97 Use MySQL query to promote new user to admin
Because that doesn't happen by default
2020-04-30 07:56:36 -05:00
bd38470bde Disable registration by default 2020-04-30 07:38:54 -05:00
0ce93e0391 Small fixes in vhost 2020-04-30 07:38:06 -05:00
30041d16e1 Shoooould be the last thing we need to configure 2020-04-30 07:26:03 -05:00
04cc076d5c Create webroot so Apache stops complaining 2020-04-30 07:20:04 -05:00
a7f2afd43a Add default user if we're generating a DB 2020-04-30 07:07:18 -05:00
2b1ed0daf1 Revert "Add Gitea default user if and only if we don't have any users"
This reverts commit aa11c3378b.
Turns out I don't have that module, nor do I care to patch my
environment.
2020-04-30 07:05:28 -05:00
aa11c3378b Add Gitea default user if and only if we don't have any users 2020-04-30 07:03:52 -05:00
9553987cc7 Fuck it we're disabling redis
Just want this thing online
2020-04-30 06:50:43 -05:00
798cb2e57d Maybe finally fix passwordless redis 2020-04-30 06:45:13 -05:00
d4e4c53b00 Restart Gitea if service changes 2020-04-30 06:45:04 -05:00
70503185cd Configure Gitea and open up Redis 2020-04-30 06:32:19 -05:00
0e9b43438b Add the right module 2020-04-30 06:21:25 -05:00
4117fef790 Add our handler under the right name 2020-04-30 06:05:54 -05:00
90e1dbea28 Why am I trying to write to etc as git? 2020-04-30 06:01:59 -05:00
181f8835e2 Use handler so that we actually have a users table when we go to add the admin 2020-04-30 05:59:10 -05:00
35138d98e1 Actually use internal token 2020-04-30 05:53:16 -05:00
c5ee46be04 Become git when adding user 2020-04-30 05:44:19 -05:00
9fd5ca7e3f Whoops. Kinda need argv there 2020-04-30 05:41:12 -05:00
1ada045fa2 Quote variables 2020-04-30 05:39:53 -05:00
661cad5c39 Make command clearer, include config, and give the git user access to his damn config file 2020-04-30 05:38:55 -05:00
2f432feb24 Create default admin user on startup 2020-04-30 05:25:35 -05:00
bdb50afcc0 Actually do what the last commit message tried to do 2020-04-30 05:21:33 -05:00
01ef37f283 Fix Gitea trying to install what has already been installed 2020-04-30 05:20:21 -05:00
a80d0fa1c4 Only deploy Gitea config if we don't already have one 2020-04-30 05:08:52 -05:00
31ea3c3e1f Add Gitea role 2020-04-30 05:06:49 -05:00