Manual cleaning an instance from the previous deployment

In order to delete build artifacts anyone can run ./rel/commands/clear_build.sh form the root project directory. It will perform deletion of these folders:

  • delete _build & deps directories

  • delete node modules located at

  • apps/block_scout_web/assets/node_modules

  • & apps/explorer/node_modules

  • delete logs/dev directory

If it is required to delete static assets too (apps/block_scout_web/priv/static folder), for instance, before their rebuilding in order to apply changes to front-end, anyone should run the previous command with -f flag:

./rel/commands/clear_build.sh -f

Edit on GitHub