mirror of
https://github.com/biobulkbende/biobulkbende.org.git
synced 2024-12-25 12:45:23 +00:00
"auto-deploy"
This commit is contained in:
parent
8b7d6f1400
commit
4bbcf1dcd6
@ -11,6 +11,14 @@ Our public website made by members.
|
|||||||
- From within the folder install all packages: `npm install`
|
- From within the folder install all packages: `npm install`
|
||||||
- Run gulp for automation: `gulp watch`
|
- Run gulp for automation: `gulp watch`
|
||||||
|
|
||||||
|
## Deployment
|
||||||
|
|
||||||
|
(You need to be a member of the systems workgroup to do this).
|
||||||
|
|
||||||
|
```
|
||||||
|
make
|
||||||
|
```
|
||||||
|
|
||||||
## Structure
|
## Structure
|
||||||
|
|
||||||
The website is served from the folder `/app`. The folder `/assets` is only for
|
The website is served from the folder `/app`. The folder `/assets` is only for
|
||||||
|
9
makefile
Normal file
9
makefile
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
default:
|
||||||
|
@docker build -t decentral1se/biobulkbende.org:latest . && \
|
||||||
|
docker push decentral1se/biobulkbende.org:latest && \
|
||||||
|
docker context use biobulkbende.org && \
|
||||||
|
docker stack rm biobulkbende_org && \
|
||||||
|
sleep 5 && \
|
||||||
|
docker system prune -fa && \
|
||||||
|
sleep 3 && \
|
||||||
|
docker stack deploy -c compose.yml biobulkbende_org
|
Loading…
Reference in New Issue
Block a user