Please go to this cleaner new repo for hackfoldr 2.0 project, thanks!
We wiped-out all accidentally commited project specific files in the new repo, and decided to keep this repo for those projects.
To run hackfoldr on local machine, please install docker
& docker-compose
first, then run:
docker-compose up
This will spin up http://localhost:3000 using the latest code in the current directory.
If you update package.json, you will need to rebuild the base image using:
docker-compose up --build
Build process is part of the dev process above, thus all the files for production build will be in _public
already.
To just build _public
without running a server, use the following command:
docker-compose run --rm hackfoldr npm run build