zlink is used to add executable routines

This commit is contained in:
programarivm 2019-09-28 18:16:40 +01:00
parent f034aacb24
commit a625c39b33
4 changed files with 20 additions and 4 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/**/*.o

View File

@ -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")

View File

@ -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")

View File

@ -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
--- ---