This repository was archived by the owner on Jun 27, 2019. It is now read-only.
Repository navigation
Improve configuration #147
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
6cc2d39
Typo in email
roschaefer 24eec29
Sane configurations - no magic
roschaefer 36069fd
Update README
roschaefer 2b00bac
Remove cucumber.json altogether
roschaefer 276bffe
Run eslint
roschaefer b1f0ad8
Fix .travis.yml
roschaefer bf59196
Remove traces of npm - we're using yarn now
roschaefer 62f7fe8
Do away with most yarn run scripts.
roschaefer 620d175
Simplify package.json, remove dev:local script
roschaefer 6b1819f
Testing maildev, seems to work except:
roschaefer 7ca2ec6
Faster global add on travis
roschaefer f6679e7
Minor formatting in README
roschaefer 59a93a8
Better error message on initial mongodb connect
roschaefer cbdbaf0
Using standard mocha command is just fine
roschaefer b8b1d15
Run clear before mocha (rendered email templates)
roschaefer bb2c1eb
Fix eslint
roschaefer fa1ae57
fixed debug messages for dev command
appinteractive 5fa5926
fixed minor readme styling
appinteractive 9130baa
Add hint how to visit server on mobile
roschaefer c58a5f5
fixed default config to allow image display when thumbor is not set up
appinteractive File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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,20 +1,6 @@ | ||
| { | ||
| "host": "localhost", | ||
| "port": 3030, | ||
| "baseURL": "http://localhost:3030", | ||
| "frontURL": "http://localhost:3000", | ||
| "smtpConfig": { | ||
| "host": "0.0.0.0", | ||
| "port": 1025, | ||
| "ignoreTLS": true | ||
| }, | ||
| "thumbor": { | ||
| "url": "", | ||
| "key": "" | ||
| }, | ||
| "seeder": { | ||
| "runOnInit": true, | ||
| "dropDatabase": false | ||
| }, | ||
| "defaultEmail": "no-replay@human-connection.org" | ||
| } | ||
| } |
This file contains hidden or 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,14 +1,5 @@ | ||
| { | ||
| "port": 3031, | ||
| "baseURL": "http://localhost:3031", | ||
| "seeder": { | ||
| "runOnInit": false, | ||
| "dropDatabase": false | ||
| }, | ||
| "smtpConfig": { | ||
| "host": "0.0.0.0", | ||
| "port": 1025, | ||
| "ignoreTLS": true | ||
| }, | ||
| "mongodb": "mongodb://localhost:27017/hc_api_test" | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you please re-add the dev:local command for mobile development?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The script uses
ifconfigto set some environment variables with the local IP address. E.g. I don't haveifconfiginstalled and the script fails silently. I find it much more convenient to sethostinconfig/local.jsonto the local ip and just runyarn run dev. Can we keepscripts/run-local.shdeleted, please?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can add some instructions in
README.mdif you like.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You missed the point of that script I think. It is getting your host ip to then start the app in your local network so you can access it from your mobile phone. It’s way more convenient then to write your ip into the local.config
But for me it’s fine to put it into the readme.