zlink is used to add executable routines
This commit is contained in:
parent
f034aacb24
commit
a625c39b33
|
@ -0,0 +1 @@
|
||||||
|
/**/*.o
|
|
@ -1,4 +1,9 @@
|
||||||
|
|
||||||
|
zlink "routines/Comment"
|
||||||
|
zlink "routines/Database"
|
||||||
|
zlink "routines/Post"
|
||||||
|
zlink "routines/User"
|
||||||
|
|
||||||
; create users
|
; create users
|
||||||
|
|
||||||
s ok=$$set^User(1,"alice~password~alice-jones@no-reply.com~Alice Jones")
|
s ok=$$set^User(1,"alice~password~alice-jones@no-reply.com~Alice Jones")
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
|
|
||||||
|
zlink "routines/Database"
|
||||||
|
zlink "routines/User"
|
||||||
|
|
||||||
; create users
|
; create users
|
||||||
|
|
||||||
s ok=$$set^User(1,"alice~password~alice-jones@no-reply.com~Alice Jones")
|
s ok=$$set^User(1,"alice~password~alice-jones@no-reply.com~Alice Jones")
|
||||||
|
|
15
README.md
15
README.md
|
@ -38,8 +38,7 @@ To install GT.M on Debian based OS:
|
||||||
|
|
||||||
Set up the environment variables:
|
Set up the environment variables:
|
||||||
|
|
||||||
cd /usr/lib/x86_64-linux-gnu/fis-gtm/V6.3-003A_x86_64
|
source /usr/lib/x86_64-linux-gnu/fis-gtm/V6.3-003A_x86_64/gtmprofile
|
||||||
source gtmprofile
|
|
||||||
|
|
||||||
Open the GT.M prompt:
|
Open the GT.M prompt:
|
||||||
|
|
||||||
|
@ -57,9 +56,17 @@ To uninstall GT.M:
|
||||||
|
|
||||||
## Run the Examples
|
## Run the Examples
|
||||||
|
|
||||||
Copy the examples into your `~/.fis-gtm/V6.3-003A_x86_64/r` folder and run:
|
Copy the example of your choice into `$gtmdir/$gtmver/r`:
|
||||||
|
|
||||||
mumps -run ^HelloWorld
|
cp -r <your-folder>/mumps-examples/04-databases/basic-sql-blog/* $gtmdir/$gtmver/r
|
||||||
|
|
||||||
|
Or alternatively create a symbolic link:
|
||||||
|
|
||||||
|
ln -s <your-folder>/mumps-examples/04-databases/basic-sql-blog/* ~/.fis-gtm/V6.3-003A_x86_64/r
|
||||||
|
|
||||||
|
Then run:
|
||||||
|
|
||||||
|
mumps -run ^Main
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue