kopia lustrzana https://github.com/fediversespace/fediverse.space
Squashed commit of the following:
commit 09d8229ab3ed8a1d12dfc2d4f96d6cc6f9d317af Author: Tao Bojlén <66130243+taobojlen@users.noreply.github.com> Date: Sun Jun 4 17:28:30 2023 +0100 remove autodeploypull/1/head
rodzic
9115d29a88
commit
e7a6c0a988
|
@ -10,6 +10,7 @@ test-frontend:
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- frontend/node_modules/
|
- frontend/node_modules/
|
||||||
|
- .npm/
|
||||||
only:
|
only:
|
||||||
changes:
|
changes:
|
||||||
- frontend/**/*
|
- frontend/**/*
|
||||||
|
@ -35,28 +36,3 @@ test-backend:
|
||||||
paths:
|
paths:
|
||||||
- backend/deps/
|
- backend/deps/
|
||||||
- backend/_build/
|
- backend/_build/
|
||||||
|
|
||||||
deploy-backend-production:
|
|
||||||
stage: deploy
|
|
||||||
environment:
|
|
||||||
name: production
|
|
||||||
url: https://phoenix.api.fediverse.space
|
|
||||||
image: ilyasemenov/gitlab-ci-git-push
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
except:
|
|
||||||
- schedules
|
|
||||||
script:
|
|
||||||
- git-push dokku@api.fediverse.space:phoenix master
|
|
||||||
|
|
||||||
deploy-gephi-production:
|
|
||||||
stage: deploy
|
|
||||||
image: ilyasemenov/gitlab-ci-git-push
|
|
||||||
environment:
|
|
||||||
name: production
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
except:
|
|
||||||
- schedules
|
|
||||||
script:
|
|
||||||
- git-push dokku@api.fediverse.space:gephi master
|
|
|
@ -4,28 +4,30 @@ This is an overview of the external software components (libraries, etc.) that
|
||||||
are used in fediverse.space.
|
are used in fediverse.space.
|
||||||
|
|
||||||
## Backend
|
## Backend
|
||||||
|
|
||||||
### Crawler and API
|
### Crawler and API
|
||||||
* [Elixir](https://elixir-lang.org/) (the language)
|
|
||||||
* [Phoenix](https://phoenixframework.org/) (the web framework)
|
- [Elixir](https://elixir-lang.org/) (the language)
|
||||||
* See [/backend/mix.env](/backend/mix.env) for a complete overview of
|
- [Phoenix](https://phoenixframework.org/) (the web framework)
|
||||||
|
- See [/backend/mix.env](/backend/mix.env) for a complete overview of
|
||||||
dependencies
|
dependencies
|
||||||
|
|
||||||
### Graph layout
|
### Graph layout
|
||||||
* Java (the language)
|
|
||||||
* Gradle (to build)
|
- Java (the language)
|
||||||
* [Gephi toolkit](https://gephi.org/toolkit/)
|
- Gradle (to build)
|
||||||
|
- [Gephi toolkit](https://gephi.org/toolkit/)
|
||||||
|
|
||||||
## Frontend
|
## Frontend
|
||||||
* [React](https://reactjs.org/) (the UI framework)
|
|
||||||
* [Blueprint](https://blueprintjs.com/) (a collection of pre-existing UI components)
|
- [React](https://reactjs.org/) (the UI framework)
|
||||||
* [Cytoscape.js](http://js.cytoscape.org/) (for graph visualization)
|
- [Blueprint](https://blueprintjs.com/) (a collection of pre-existing UI components)
|
||||||
* See [/frontend/package.json](/frontend/package.json) for a complete overview
|
- [Cytoscape.js](http://js.cytoscape.org/) (for graph visualization)
|
||||||
|
- See [/frontend/package.json](/frontend/package.json) for a complete overview
|
||||||
of dependencies
|
of dependencies
|
||||||
|
|
||||||
## Other
|
## Other
|
||||||
* [Docker](https://www.docker.com/) and
|
|
||||||
[docker-compose](https://docs.docker.com/compose/overview/)
|
|
||||||
* The backend is deployed using [Dokku](http://dokku.viewdocs.io/dokku/).
|
|
||||||
* The frontend is hosted on [Netlify](https://www.netlify.com/)
|
|
||||||
* [GitLab](https://gitlab.com/) and GitLab CI/CD are used for project management and CI/CD.
|
|
||||||
|
|
||||||
|
- [Docker](https://www.docker.com/) and
|
||||||
|
[docker-compose](https://docs.docker.com/compose/overview/)
|
||||||
|
- [GitLab](https://gitlab.com/) and GitLab CI/CD are used for project management and CI/CD.
|
||||||
|
|
9982
frontend/.snyk
9982
frontend/.snyk
Plik diff jest za duży
Load Diff
29
netlify.toml
29
netlify.toml
|
@ -1,29 +0,0 @@
|
||||||
[build]
|
|
||||||
base = "frontend/"
|
|
||||||
publish = "frontend/build/"
|
|
||||||
|
|
||||||
[build.environment]
|
|
||||||
INLINE_RUNTIME_CHUNK = "false"
|
|
||||||
|
|
||||||
[context.develop.environment]
|
|
||||||
REACT_APP_STAGING = "true"
|
|
||||||
|
|
||||||
[context.branch-deploy.environment]
|
|
||||||
REACT_APP_STAGING = "true"
|
|
||||||
|
|
||||||
[context.deploy-preview.environment]
|
|
||||||
REACT_APP_STAGING = "true"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/*"
|
|
||||||
to = "/index.html"
|
|
||||||
status = 200
|
|
||||||
|
|
||||||
[[headers]]
|
|
||||||
for = "/*"
|
|
||||||
[headers.values]
|
|
||||||
X-Content-Type-Options = "nosniff"
|
|
||||||
X-Frame-Options = "DENY"
|
|
||||||
X-XSS-Protection = "1"
|
|
||||||
Content-Security-Policy = "default-src 'self' https://*.fediverse.space https://plausible.cursed.technology; style-src 'self' 'unsafe-inline'; img-src 'self' data:"
|
|
||||||
|
|
Ładowanie…
Reference in New Issue