Rejig for separate repo
This commit is contained in:
parent
09c596d389
commit
2cf14a3375
26
README.md
Normal file
26
README.md
Normal file
@ -0,0 +1,26 @@
|
||||
# servers.coop-apps
|
||||
|
||||
Configuration files for our [`coop-cloud`] apps.
|
||||
|
||||
Each file in this repository represents an "app", an instance of a "stack".
|
||||
|
||||
## Initial set-up
|
||||
|
||||
Check out the code and symlink the directories into your `~/.abra/servers` folder:
|
||||
|
||||
```
|
||||
git clone ssh://git@git.coopcloud.tech:2222/servers.coop/servers.coop-apps.git
|
||||
cd servers.coop-apps
|
||||
make
|
||||
```
|
||||
|
||||
## Deploying a new app instance
|
||||
|
||||
```
|
||||
abra new wordpress # answer questions
|
||||
abra app <domain name> deploy
|
||||
```
|
||||
|
||||
Then come back to this repository and add and commit the new file.
|
||||
|
||||
[`coop-cloud`]: https://git.coopcloud.tech/coop-cloud
|
10
makefile
Normal file
10
makefile
Normal file
@ -0,0 +1,10 @@
|
||||
.PHONY:
|
||||
|
||||
# -s symlink, -f force creation, -F don't create symlink in the target dir
|
||||
link:
|
||||
@mkdir -p ~/.abra/servers/
|
||||
@for SERVER in $$(find * -maxdepth 0 -type d); do \
|
||||
echo ln -sfF "$$(pwd)/$${SERVER#./}" ~/.abra/servers/ ; \
|
||||
ln -sfF "$$(pwd)/$${SERVER#./}" ~/.abra/servers/ ; \
|
||||
done
|
||||
# FIXME 3wc: semicolon?!
|
Loading…
Reference in New Issue
Block a user