Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Verification quick start tutorial #62

Merged
merged 6 commits into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,11 @@ Below is a link to the documentation start page.

## Getting Started

We recommend you play around with our hosted version to get a feel for how the product works before trying to run it locally. You can find a link to the sign-up page in our [documentation](https://www.somleng.org/docs.html).
Follow the [Getting Started Guide](https://www.somleng.org/docs#getting-started) and run through the tutorials to learn about Somleng.

Follow the [GETTING STARTED](https://github.com/somleng/somleng-project/blob/main/docs/GETTING_STARTED.md) guide to get Somleng up and running on your local development machine.
## Installation

Follow the [Installation](https://www.somleng.org/docs#installation) guide to get Somleng up and running on your local development machine.

## Deployment

Expand All @@ -86,7 +88,7 @@ You can join at the [Discord](https://discord.gg/QdrKCW2kPx) channel for asking

## Roadmap

Our 2022 Roadmap is structured around the following strategic building blocks.
Our 2024 Roadmap is structured around the following strategic building blocks.

* Create more network reachability.
* Add more communication channels.
Expand Down
15 changes: 15 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,27 @@ services:
timeout: 5s
retries: 5

redis:
image: redis
healthcheck:
test: ["CMD-SHELL", "redis-cli ping"]
interval: 10s
timeout: 5s
retries: 5

somleng:
image: ghcr.io/somleng/somleng
environment:
RAILS_ENV: development
REDIS_URL: "redis://redis:6379/1"
DATABASE_HOST: db
DASHBOARD_URL_HOST: "http://dashboard.lvh.me:3000"
SWITCH_HOST: "http://somleng-switch:8080"
ports:
- "3000:3000"
depends_on:
- db
- redis
- somleng-switch
networks:
default:
Expand All @@ -35,6 +45,11 @@ services:
interval: 10s
timeout: 5s
retries: 10
command:
- "./bin/rails"
- "server"
- "-b"
- "0.0.0.0"

somleng-switch:
image: ghcr.io/somleng/somleng-switch
Expand Down
85 changes: 0 additions & 85 deletions docs/GETTING_STARTED.md

This file was deleted.

Binary file removed docs/images/linphone_acct_settings.png
Binary file not shown.
Binary file removed docs/images/linphone_network_settings.png
Binary file not shown.
34 changes: 17 additions & 17 deletions infrastructure/somleng/core/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions infrastructure/somleng/core/ci.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ resource "aws_iam_policy" "ci_deploy" {
"s3:ListBucket"
],
"Resource": [
"${aws_s3_bucket.somleng_website.arn}"
"${aws_s3_bucket.somleng_website.arn}",
"${aws_s3_bucket.ci_artifacts.arn}"
]
},
{
Expand All @@ -60,7 +61,8 @@ resource "aws_iam_policy" "ci_deploy" {
"s3:DeleteObject"
],
"Resource": [
"${aws_s3_bucket.somleng_website.arn}/*"
"${aws_s3_bucket.somleng_website.arn}/*",
"${aws_s3_bucket.ci_artifacts.arn}/*"
]
},
{
Expand Down
18 changes: 18 additions & 0 deletions infrastructure/somleng/core/s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,21 @@ resource "aws_s3_bucket_acl" "backups" {
bucket = aws_s3_bucket.backups.id
acl = "private"
}

resource "aws_s3_bucket" "ci_artifacts" {
bucket = "ci-artifacts.somleng.org"
}

resource "aws_s3_bucket_lifecycle_configuration" "ci_artifacts" {
bucket = aws_s3_bucket.ci_artifacts.id

rule {
id = "rule-1"
filter {}
status = "Enabled"

expiration {
days = 1
}
}
}
Loading