I'm a newbie to both git and AWS.
I bought a domain using AWS and have connected it to a Github repository.
I pushed the app to repository without initiating an npm run build
.
After realizing that the website was showing the readme.md
instead of the index.html
which is inside of the public folder (not that that's working either), I decided to try to run npm run build
and push that to the github repository, thinking that maybe that could fix my issue.
The problem I ran into was that /build
is ignored inside .gitignore
.
So I'm not sure if I should remove /build
from .gitignore
or find a work around, or something else I'm not aware of?
I would really appreciate some explanation from someone on that issue.
Thank you in advance.