-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into apb/error-pages
- Loading branch information
Showing
15 changed files
with
89 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# How to contribute | ||
# How to Contribute | ||
|
||
## Issue Tags | ||
|
||
|
@@ -45,33 +45,3 @@ get accepted: | |
|
||
If your pull-request addresses an issue then please add the corresponding | ||
issue's number to the description of your pull-request. | ||
|
||
# How to work with this project locally | ||
|
||
## Installation | ||
|
||
First clone this repository: | ||
|
||
```sh | ||
git clone [email protected]:BeaconCMS/beacon.git | ||
``` | ||
|
||
Call setup to install deps: | ||
|
||
```sh | ||
mix setup | ||
``` | ||
|
||
## Running tests | ||
|
||
```sh | ||
mix test | ||
``` | ||
|
||
## Running a local app | ||
|
||
```sh | ||
iex -S mix dev | ||
``` | ||
|
||
Check out https://github.com/BeaconCMS/beacon/blob/main/dev.exs and visit http://localhost:4001/dev/home |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
defmodule Beacon.RuntimeCSSTest do | ||
use BeaconWeb.ConnCase, async: false | ||
|
||
alias Beacon.RuntimeCSS | ||
|
||
@site :my_site | ||
|
||
setup_all do | ||
start_supervised!({Beacon.Loader, Beacon.Config.fetch!(@site)}) | ||
:ok | ||
end | ||
|
||
test "load!" do | ||
assert RuntimeCSS.load!(@site) == :ok | ||
assert @site |> RuntimeCSS.fetch() |> :erlang.size() > 100 | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
defmodule Beacon.RuntimeJSTest do | ||
use BeaconWeb.ConnCase, async: false | ||
|
||
alias Beacon.RuntimeJS | ||
|
||
@site :my_site | ||
|
||
setup_all do | ||
start_supervised!({Beacon.Loader, Beacon.Config.fetch!(@site)}) | ||
:ok | ||
end | ||
|
||
test "load" do | ||
assert RuntimeJS.load!() == :ok | ||
assert RuntimeJS.fetch() |> :erlang.size() > 100 | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters