Account · Devnet

Track

AXg3KVoKrWyB2R5fUUmQ7QZMXNEzoS1jqegwh89XC29Q
Position of this track within its tape.Number#11in tape 71Cxr...jxeRv
Bytes stored and the encoding. Inline tracks keep the bytes on-chain.Size255 BInline
The epoch the track became readable.Active epoch385The epoch the tape allocation expires unless extended.Expiry epoch660in 6 days
https://gw.tape.network/track/AXg3KVoKrWyB2R5fUUmQ7QZMXNEzoS1jqegwh89XC29Q
HTTP

Ready. Stores serve.sh, 255 B. Download.

Details

Content key
CpjPP...JtD1u
State
Ready
Type
User
Object
serve.sh
Encoding
Inline
Spool group
3
Value hash
7gxm5PudcuBZJp6fgKUwb3axJWfhtuDKnJvAE8wj684Q

Content

00000000  23 21 2f 62 69 6e 2f 73  68 0a 23 20 53 65 72 76  |#!/bin/sh.# Serv|
00000010  65 73 20 74 68 69 73 20  64 69 72 65 63 74 6f 72  |es this director|
00000020  79 2c 20 77 68 65 72 65  76 65 72 20 69 74 20 6c  |y, wherever it l|
00000030  69 76 65 73 2c 20 73 6f  20 74 68 65 20 45 53 20  |ives, so the ES |
00000040  6d 6f 64 75 6c 65 73 20  6c 6f 61 64 2e 0a 23 20  |modules load..# |
00000050  55 73 61 67 65 3a 20 2e  2f 73 65 72 76 65 2e 73  |Usage: ./serve.s|
00000060  68 20 5b 70 6f 72 74 5d  20 20 20 28 64 65 66 61  |h [port]   (defa|
00000070  75 6c 74 20 38 37 36 35  29 0a 63 64 20 22 24 28  |ult 8765).cd "$(|
00000080  64 69 72 6e 61 6d 65 20  22 24 30 22 29 22 20 7c  |dirname "$0")" ||
00000090  7c 20 65 78 69 74 20 31  0a 50 4f 52 54 3d 22 24  || exit 1.PORT="$|
000000a0  7b 31 3a 2d 38 37 36 35  7d 22 0a 65 63 68 6f 20  |{1:-8765}".echo |
000000b0  22 42 72 61 6e 64 20 74  6f 6f 6c 73 20 61 74 20  |"Brand tools at |
000000c0  68 74 74 70 3a 2f 2f 6c  6f 63 61 6c 68 6f 73 74  |http://localhost|
000000d0  3a 24 7b 50 4f 52 54 7d  2f 22 0a 65 78 65 63 20  |:${PORT}/".exec |
000000e0  70 79 74 68 6f 6e 33 20  2d 6d 20 68 74 74 70 2e  |python3 -m http.|
000000f0  73 65 72 76 65 72 20 22  24 50 4f 52 54 22 0a  |server "$PORT".|