-
Notifications
You must be signed in to change notification settings - Fork 6
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
Development workflow #94
Comments
Hopefully this becomes much clearer once we deal with #92 and #93. |
@layik In the proposed internal dev workflow (where we clone, rather than instantiate, |
OK here is part of the doc I am working on for developers which can replace this Wiki entry. I am happy to refer to how other npm package developers do it but would have to be similar. Here is part of the MD being written. Local React AppTo develop (make changes) or even better contribute to eAtlas, please set up your own development environment. We propose two ways:
There are three steps in either of the two cases:
git clone https://github.com/tgve/eAtlas
cd eAtlas
npm run dist
That should set you up. Clean CRA appUsing eatlas-template |
A Wiki entry like this: https://github.com/tgve/eAtlas/wiki/Developing-eAtlas |
Now, I am happy to say "We propose you create a CRA app from scratch" etc. |
Will do some more tests on using |
RE checklist item: "get to the point where we can go |
And perhaps, I need to commit an |
Won't reproducibiity be exactly what's captured by the Dockerfile? Or do you have something else in mind? |
@layik Should we think of the development workflow (assuming a full stack setup that allows change to the R code, React code, etc) as belonging to |
I agree a Dockerfile is a reproducible example. But more like a document in shape of a notebook or an Rmarkdown is what I have in mind for [data] scientists. |
For me this is what we discussed today and a "development workflow" would be what a developer would be doing to develop eAtlas npm package. |
@layik Ok. Perhaps this could build on what's currently in the |
You mean the full-template sticking with R to make my life easier. |
Let's talk about this tomorrow morning. |
A development workflow for working on
tgvejs
and running it viaapp
.yarn test
intgvejs
devDependencies
master
branchyarn install
/yarn start
npm
branchError: Cannot find module 'webpack/lib/node/NodeTemplatePlugin'
yarn install
/yarn start
❌Could not find a required file. Name: index.html
npm install
/npm start
❌ Webpack 4.42.0/4.46.0 dependency issueresolve Merge npm branch with master #92Hosted instance workflow app#4(?)Node.js/React developernative Mac developmentget to the point where we can rungeoplumber::gp_plumb()
in the R consoleDocker-based developmentDockerfile
fromeAtlas/npm
toapp
package.json
to point tofile:../eAtlas
(notlink:
!)tgvejs
.md
fileREADME.Rmd
#100yarn
(vs.npm
) to avoid warnings aboutpackage-lock.json
package.json
is a bit of a painnpm link ../tgvejs
seems to achieve same effect but without changingpackage.json
README.md
fortgvejs
contributorstgvejs
andapp
repos to local machine@tgve/tgvejs
dependency inapp/package.json
to point tolink:../tgvejs
yarn watch
to incrementally updatedist
dir oftgvejs
?app
doesn't pick this up -- need to deletenode_modules/@tgve/**
and thenyarn
againThe text was updated successfully, but these errors were encountered: