+1
-1
Dockerfile
+1
-1
Dockerfile
···
35
35
# git clone --depth=1 https://tangled.org/emmeline.girlkisser.top/beep .
36
36
mkdir -p ~/.vmodules/emmathemartian/maple
37
37
git clone --depth=1 https://github.com/emmathemartian/maple ~/.vmodules/emmathemartian/maple
38
-
v . # compiling with -prod causes ORM errors.
38
+
v -cflags "-O3 -flto" . # compiling with -prod causes ORM errors.
39
39
EOF
40
40
41
41
STOPSIGNAL SIGINT
+4
-3
readme
+4
-3
readme
···
14
14
-------
15
15
16
16
[WARNING]
17
-
Do not compile with -prod. It causes a strange ORM error
18
-
that results in invalid queries being sent to the database.
17
+
Do not compile with -prod. V's AST optimizations break
18
+
something in the ORM and cause assorted errors. Instead,
19
+
use `-cflags "-O3 -flto"`
19
20
20
21
$ git clone https://tangled.org/emmeline.girlkisser.top/beep
21
22
$ cd beep
···
39
40
Without Docker:
40
41
(assumes you already have a database somewhere)
41
42
$ v install EmmaTheMartian.Maple
42
-
$ v .
43
+
$ v -cflags "-O3 -flto" .
43
44
$ ./beep config.real.maple
44
45
45
46
If `v install ...` fails then you can install Maple