Skip to content

Build site with hologit #199

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

Merged
merged 20 commits into from
Feb 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
175a6b8
chore: initialize .holo/config.toml
themightychris Dec 26, 2018
3026f6f
chore: initialize .holo/sources/skeleton-v2 config
themightychris Dec 26, 2018
3fa8132
chore: initialize .holo/branches/skeleton config
themightychris Dec 26, 2018
44b21cf
chore: switch skeleton-v2 branch to emergence-skeleton
themightychris Jan 8, 2019
482242a
chore: add .studiorc studio environment
themightychris Jan 8, 2019
70bb443
chore: update skeleton holobranch name to emergence-skeleton
themightychris Jan 8, 2019
a18f7c5
chore: fork off emergence-site holobranch
themightychris Jan 8, 2019
24c2bb3
chore: update .holo/config.toml kind to holospace
themightychris Jan 8, 2019
2476893
fix: exclude sass lens and built css from skeleton-v2
themightychris Jan 8, 2019
bee0428
feat: add codeforphilly holobranch example
themightychris Jan 8, 2019
7e0ac16
fix: don't exclude css from skeleton-v2, need for site-admin
themightychris Jan 8, 2019
a1c1841
refactor: migrate Git configs to holomappings
themightychris Feb 6, 2019
43d9343
refactor: prefix codeforphilly holobranch with example-
themightychris Jan 9, 2019
f6baad6
refactor: rename emergence-skeleton holobranch to emergence-site
themightychris Feb 6, 2019
50d3c09
fix: update skeleton-v2 branch to emergence/skeleton
themightychris Feb 6, 2019
e31d843
fix: configure emergence-skeleton holobranch to extend emergence-site
themightychris Feb 6, 2019
9e94ac7
docs: add comment to emergence-skeleton holobranch
themightychris Feb 6, 2019
c8cc347
refactor: remove recaptcha library, it was merged upstream
themightychris Feb 6, 2019
c5a823b
fix: reconfigure example holobranch to use local holobranch as source
themightychris Feb 6, 2019
da0b686
docs: getting started
themightychris Feb 6, 2019
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
4 changes: 4 additions & 0 deletions .holo/branches/emergence-site/_emergence-github.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[holomapping]
files = "*/**"
after = "skeleton-v2"
before = "laddr"
4 changes: 4 additions & 0 deletions .holo/branches/emergence-site/_emergence-redirects.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[holomapping]
files = "*/**"
after = "skeleton-v2"
before = "laddr"
4 changes: 4 additions & 0 deletions .holo/branches/emergence-site/_emergence-saml2.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[holomapping]
files = "*/**"
after = "skeleton-v2"
before = "laddr"
4 changes: 4 additions & 0 deletions .holo/branches/emergence-site/_emergence-slack.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[holomapping]
files = "*/**"
after = "skeleton-v2"
before = "laddr"
3 changes: 3 additions & 0 deletions .holo/branches/emergence-site/_laddr.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[holomapping]
files = "*/**"
after = "skeleton-v2"
2 changes: 2 additions & 0 deletions .holo/branches/emergence-site/_skeleton-v2.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[holomapping]
files = "*/**"
4 changes: 4 additions & 0 deletions .holo/branches/emergence-skeleton.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[holobranch]
# This skeleton holobranch is a variant of the site holobranch with lensing turned off
extend = "emergence-site"
lens = false
3 changes: 3 additions & 0 deletions .holo/branches/example-codeforphilly/_codeforphilly.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[holomapping]
files = "*/**"
after = [ "-skeleton" ]
3 changes: 3 additions & 0 deletions .holo/branches/example-codeforphilly/_laddr.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[holomapping]
holosource = "-skeleton"
files = "*/**"
2 changes: 2 additions & 0 deletions .holo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[holospace]
name = "laddr"
2 changes: 2 additions & 0 deletions .holo/sources/-skeleton.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[holosource.project]
holobranch = "emergence-skeleton"
3 changes: 3 additions & 0 deletions .holo/sources/codeforphilly.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[holosource]
url = "https://github.com/CodeForPhilly/codeforphilly.org"
ref = "refs/heads/master"
3 changes: 3 additions & 0 deletions .holo/sources/emergence-github.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[holosource]
url = "https://github.com/JarvusInnovations/emergence-github"
ref = "refs/heads/master"
3 changes: 3 additions & 0 deletions .holo/sources/emergence-redirects.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[holosource]
url = "https://github.com/JarvusInnovations/emergence-redirects"
ref = "refs/heads/master"
3 changes: 3 additions & 0 deletions .holo/sources/emergence-saml2.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[holosource]
url = "https://github.com/JarvusInnovations/emergence-saml2"
ref = "refs/heads/master"
3 changes: 3 additions & 0 deletions .holo/sources/emergence-slack.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[holosource]
url = "https://github.com/JarvusInnovations/emergence-slack"
ref = "refs/heads/master"
3 changes: 3 additions & 0 deletions .holo/sources/skeleton-v2.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[holosource]
url = "https://github.com/JarvusInnovations/emergence-skeleton-v2"
ref = "refs/heads/emergence/skeleton"
4 changes: 4 additions & 0 deletions .studiorc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

hab pkg install emergence/studio
source "$(hab pkg path emergence/studio)/studio.sh"
30 changes: 28 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,39 @@ There are three ways to get started with Laddr:
- [Clone laddr](#clone-laddr) to work on and contribute to its core, shared functionality
- [Extend laddr](#extend-laddr) to create a workspace for customizing a copy of laddr for your brigade without forking the whole thing

### Dependencies

Install recent versions of [Habitat](http://habitat.sh) and [Docker](https://www.docker.com/) on your Linux, Mac, or Windows workstation.

### Clone Laddr

*TODO: document me*
```bash
cd ~/Repositories/laddr # or wherever you cloned this rep

# expose port 7080 from any Docker container started by Habitat
export HAB_DOCKER_OPTS="-p 7080:7080"

# launch and enter a Habitat studio
hab studio enter

# once the studio has finished loading, start all services with a local database
start-all-local

# build and load the site, then wait for file changes
watch-site
```

At that point you should be able to see an instance at http://localhost:7080 and any edits should be reflected live

### Extend Laddr

*TODO: document me*
*TODO: Extending project docs*

```bash
# build the codeforphilly example extending project instead
export EMERGENCE_HOLOBRANCH=example-codeforphilly
watch-site
```

## Support

Expand Down
16 changes: 0 additions & 16 deletions php-config/Git.config.d/emergence-github.php

This file was deleted.

17 changes: 0 additions & 17 deletions php-config/Git.config.d/emergence-redirects.php

This file was deleted.

68 changes: 0 additions & 68 deletions php-config/Git.config.d/laddr.php

This file was deleted.

10 changes: 0 additions & 10 deletions php-config/Git.config.d/recaptcha.php

This file was deleted.