-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Streamline running convene by adding docs + helper scripts
We noticed that there was not any way to know how to get started running the Convene::Web interface unless you happened to know how to explore the project repository already. By sprouting a `bin/run` script that launches the rails server, as well as documenting how to get started in the project root readme with more technical details in the Convene::Web README we think this will make it easier for people to pick up the project and start contributing. H/t @KellyAH for helping figure out where to put what documentation updates!
- Loading branch information
Showing
4 changed files
with
21 additions
and
0 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
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,4 @@ | ||
#!/bin/bash | ||
|
||
# Runs the application locally | ||
(cd convene-web && bin/run) |
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,8 @@ | ||
#!/bin/bash | ||
|
||
|
||
# Conditionally assign PORT so that it can be overridden | ||
# https://stackoverflow.com/questions/2440947/how-to-build-a-conditional-assignment-in-bash | ||
: ${PORT:=3000} | ||
echo $PORT | ||
bin/rails s -p $PORT |