diff --git a/.gitignore b/.gitignore index 2eea525..46b0109 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -.env \ No newline at end of file +.env +client/node_modules +server/node_modules \ No newline at end of file diff --git a/buildspec.yml b/buildspec.yml new file mode 100644 index 0000000..9a90102 --- /dev/null +++ b/buildspec.yml @@ -0,0 +1,15 @@ +version: 0.2 + +phases: + pre_build: + commands: + - cd client + - npm install + build: + commands: + - npm run build + +artifacts: + files: + - '**/*' + base-directory: client/build \ No newline at end of file diff --git a/client/.gitignore b/client/.gitignore deleted file mode 100644 index 32c96c1..0000000 --- a/client/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -.env -/node_modules \ No newline at end of file