An application to edit Animal Crossing pattern designs.
At the root of the project directory:
# submodule setup
git submodule update --init --recursive
cd zxing-js-library
yarn # need this to bypass sharp missing binaries
cd ..
# main repo setup
npm install
npm run build:submodule # build the submodule
Runs the application in development mode. Automatically reloads with changes. Open https://localhost:3000 to view it in the browser.
Builds the submodules, app, and then outputs to a build
directory at the
repository root. Can build the the project in development mode or production
mode. By default builds in the mode specified by the .env
, but can otherwise
override with a command line option. Use --help
option to view options.
Builds the app and outputs to a build
directory at the repository root. Can
build the the project in development mode or production mode. By default builds
in the mode specified by the .env
, but can otherwise override with a command
line option. Use --help
option to view options.
Builds the submodules and outputs to a build
directory at the repository
root. Can build the the project in development mode or production mode. By
default builds in the mode specified by the .env
, but can otherwise override
with a command line option.
Cleans the submodule and app build directories. Recursively removes files located in the build directories.
Cleans the app build directory. Recursively removes files located in the build directory.
Cleans the submodule build directory. Recursively removes files located in the build directory.
- login to netlify from the commandline
npx netlify login
- link the folder to netlify
npx netlify link
docker-compose exec frontend npm run build production
To install netlify (npm -i -g netlify-cli --unsafe-param=true)
netlify deploy --dir=build --prod