Skip to content
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

Dashboard development sans node #7

Merged
merged 4 commits into from
Dec 6, 2018
Merged

Dashboard development sans node #7

merged 4 commits into from
Dec 6, 2018

Conversation

bennlich
Copy link
Contributor

@bennlich bennlich commented Dec 6, 2018

Related to discussion in #1.

I moved the ubus and infogather API calls to their own files (see src/actions/ubusAPI.js and src/actions/infogatherAPI.js) and added npm run build-dev that builds the app in "development" mode (i.e. uses stubbed API calls). This way you can develop the web app without having a node around.

There's also a publish-to-node.sh script that helps you copy your build over to the node if/when you're ready to test the real environment.

I updated the README to reflect these changes.

@bennlich bennlich changed the title Easier dashboard development Dashboard development sans node Dec 6, 2018
@bennlich bennlich merged commit efdb7b0 into master Dec 6, 2018
@bennlich bennlich deleted the devtools branch December 6, 2018 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant