mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
Merge pull request #13 from CloudFire-LLC/more-housecleaning
cloudfire -> fireguard
This commit is contained in:
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
@@ -18,6 +18,7 @@ jobs:
|
||||
ports:
|
||||
- 5432:5432
|
||||
env:
|
||||
POSTGRES_USER: fireguard
|
||||
POSTGRES_PASSWORD: postgres
|
||||
options: >-
|
||||
--health-cmd pg_isready
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||

|
||||

|
||||
|
||||
# CloudFire
|
||||
# FireGuard
|
||||
|
||||
Under active development. Check back later.
|
||||
|
||||
@@ -61,7 +61,7 @@ select {
|
||||
margin: -1rem 0 2rem;
|
||||
}
|
||||
|
||||
/* Cloudfire promo and logo */
|
||||
/* FireGuard promo and logo */
|
||||
.cf-hero {
|
||||
text-align: center;
|
||||
border-bottom: 1px solid #e3e3e3;
|
||||
|
||||
@@ -9,7 +9,7 @@ defmodule CfHttpWeb.Plugs.Authenticator do
|
||||
def init(default), do: default
|
||||
|
||||
def call(conn, _default) do
|
||||
user = %User{email: "dev_user@cloudfire.network"}
|
||||
user = %User{email: "dev_user@fireguard.network"}
|
||||
assign(conn, :current_user, user)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<title>Cloudfire</title>
|
||||
<title>FireGuard</title>
|
||||
<link rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/app.css") %>"/>
|
||||
<%= csrf_meta_tag() %>
|
||||
</head>
|
||||
@@ -17,7 +17,7 @@
|
||||
</ul>
|
||||
</nav>
|
||||
<a href="<%= CfHttpWeb.Endpoint.url() %>" class="cf-logo">
|
||||
<img src="<%= Routes.static_path(@conn, "/images/logo.svg") %>" alt="Cloudfire Logo"/>
|
||||
<img src="<%= Routes.static_path(@conn, "/images/logo.svg") %>" alt="FireGuard Logo"/>
|
||||
</a>
|
||||
</section>
|
||||
</header>
|
||||
|
||||
5
bin/bootstrap_fireguard_dev.sql
Normal file
5
bin/bootstrap_fireguard_dev.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
-- Execute this with your DB admin user
|
||||
create role fireguard;
|
||||
alter role fireguard with password 'postgres';
|
||||
alter role firegurd with login;
|
||||
alter role fireguard with superuser;
|
||||
@@ -2,9 +2,9 @@ import Config
|
||||
|
||||
# Configure your database
|
||||
config :cf_http, CfHttp.Repo,
|
||||
username: "cloudfire",
|
||||
username: "fireguard",
|
||||
password: "postgres",
|
||||
database: "cloudfire_dev",
|
||||
database: "fireguard_dev",
|
||||
hostname: "localhost",
|
||||
show_sensitive_data_on_connection_error: true,
|
||||
pool_size: 10
|
||||
|
||||
@@ -3,13 +3,14 @@ import Config
|
||||
defmodule DBConfig do
|
||||
def config(db_url) when is_nil(db_url) do
|
||||
[
|
||||
username: "postgres",
|
||||
username: "fireguard",
|
||||
password: "postgres",
|
||||
database: "cloudfire_test",
|
||||
database: "fireguard_test",
|
||||
hostname: System.get_env("POSTGRES_HOST", "localhost"),
|
||||
pool: Ecto.Adapters.SQL.Sandbox
|
||||
]
|
||||
end
|
||||
|
||||
def config(db_url) do
|
||||
[
|
||||
url: db_url,
|
||||
|
||||
4
mix.exs
4
mix.exs
@@ -1,6 +1,6 @@
|
||||
defmodule CloudfireUmbrella.MixProject do
|
||||
defmodule FireguardUmbrella.MixProject do
|
||||
@moduledoc """
|
||||
Welcome to the CloudFire Elixir Umbrella Project
|
||||
Welcome to the FireGuard Elixir Umbrella Project
|
||||
"""
|
||||
|
||||
use Mix.Project
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
set -e
|
||||
|
||||
# This file provisions the vagrant vm with needed tools to develop
|
||||
# and test a single-host CloudFire instance.
|
||||
# and test a single-host FireGuard instance.
|
||||
|
||||
# Add WireGuard PPA
|
||||
add-apt-repository ppa:wireguard/wireguard
|
||||
|
||||
Reference in New Issue
Block a user