From 2448e8e7a09994b131f4ac98a7bb2d2fe5526008 Mon Sep 17 00:00:00 2001 From: Tal Kol Date: Thu, 5 May 2022 19:02:37 +0100 Subject: [PATCH] Glitch fixes --- README.md | 7 ++++--- package.json | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9a04573..9889b25 100644 --- a/README.md +++ b/README.md @@ -47,11 +47,12 @@ To setup your local machine for development, please make sure you have the follo Alternatively, you can ignore the above requirements and develop in your web browser with an online IDE and zero setup. Simply open this repo inside [Glitch](https://glitch.com/) without installing anything: -* Open the link: https://glitch.com/edit/#!/remix/tonstarter-contracts +* Open [this link](https://glitch.com/edit/#!/remix/clone-from-repo?&REPO_URL=https%3A%2F%2Fgithub.com%2Fton-defi-org%2Ftonstarter-contracts.git) in your browser * This will create a brand new Glitch project just for you (similar to a git fork) + * Wait about 30 seconds until installation completes (click the "LOGS" button on the bottom of IDE to see progress) * Edit your contract files and tests in the online IDE - * To run terminal commands like `npm run test` click the "TERMINAL" button of the online IDE -* It's a bit slow.. run on a local machine if you want a much faster experience + * To run terminal commands like `npm run build` click the "TERMINAL" button on the bottom of the online IDE +* It's a bit slow.. run on a local machine if you want a much faster experience! ## Development instructions diff --git a/package.json b/package.json index 9e2d9d5..f4a3835 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ "build": "ts-node ./build/build.ts", "deploy": "ts-node ./build/deploy.ts", "deploy:testnet": "export TESTNET=1 && ts-node ./build/deploy.ts", - "postinstall": "! test -f /app/.glitchdotcom.json || test -d /app/bin || bash .setup.glitch.sh" + "postinstall": "! test -f /app/.glitchdotcom.json || test -d /app/bin || bash .setup.glitch.sh", + "start": "npm run build" }, "devDependencies": { "@types/bn.js": "^5.1.0",