1
0
mirror of https://github.com/nokonoko/Uguu.git synced 2024-01-06 13:35:15 +00:00
This commit is contained in:
Selvakumar 2023-08-25 20:14:28 -06:00 committed by GitHub
commit e02359b2f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 32 additions and 11 deletions

3
.gitmodules vendored
View File

@ -0,0 +1,3 @@
[submodule "ansible/ansible-role-uguu"]
path = ansible/ansible-role-uguu
url = https://github.com/s3lva-kumar/ansible-role-uguu

View File

@ -1,14 +1,15 @@
MAKE = "make"
INSTALL = "install"
TAR = "tar"
GREP = "grep"
NODE = "node"
NPM = "npm"
NODEJQ = "node_modules/node-jq/bin/jq"
SQLITE = "sqlite3"
CONF = "src/config.json"
PHP = "php"
CURL = "curl"
MAKE="make"
INSTALL="install"
TAR="tar"
GREP="grep"
NODE="node"
NPM="npm"
HOSTS_FILE = $(HOSTS_FILE)
NODEJQ="node_modules/node-jq/bin/jq"
SQLITE="sqlite3"
CONF="src/config.json"
PHP="php"
CURL="curl"
DESTDIR = $(shell $(CURDIR)/$(NODEJQ) -r ".dest" $(CURDIR)/$(CONF))
SITEDOMAIN = $(shell $(CURDIR)/$(NODEJQ) -r ".DOMAIN" $(CURDIR)/$(CONF))
FILESDOMAIN = $(shell $(CURDIR)/$(NODEJQ) -r ".FILE_DOMAIN" $(CURDIR)/$(CONF))
@ -69,6 +70,12 @@ install: installdirs
cd $(DESTDIR)/ && rm composer-setup.php
cd $(DESTDIR)/ && php composer.phar update && php composer.phar install && php composer.phar dump-autoload
submodule-update:
cd ansible && git clone git@github.com:s3lva-kumar/ansible-role-uguu.git && git submodule update --remote
deploy:
ansible-playbook -i $(HOSTS_FILE) ansible/site.yml
dist:
DESTDIR=$(TMPDIR)/uguu-$(PKGVERSION)
export DESTDIR

@ -0,0 +1 @@
Subproject commit b3b95801d3664d8a143126c0ff6551533f48394e

10
ansible/site.yml Normal file
View File

@ -0,0 +1,10 @@
- name: "install uguu"
hosts: all
become: yes
roles:
- ansible-role-uguu
vars:
paypalUrl: ""
bitcoinAddress: ""
flattrUrl: ""