You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,21 @@
1
1
# TokenScript repo
2
2
3
+
## Update instruction for sysop
4
+
5
+
If the TokenScript files in the repo is updated, the sysop should recreate the `.htaccess` file by:
6
+
7
+
$ make .htaccess
8
+
9
+
This would generate a new .htaccess file based on the contract addresses mentioned in the TokenScript files.
10
+
11
+
Then, run this to upload the files. This will only work if you already configured SSH access:
12
+
13
+
$ make upload
14
+
15
+
## How it works
16
+
17
+
The Makfile generates a list of rewrite rules for accessing TokenScript files based on their token contract addresses. See more in [how_it_works.md](how_it_works.md)
0 commit comments