# Genie.jl and package compiler

**URL:** <https://discourse.julialang.org/t/genie-jl-and-package-compiler/74849>\
**Category:** New to Julia\
**Tags:** genie, package-compiler\
**Created:** [January 19, 2022, 5:03am UTC](https://discourse.julialang.org/t/genie-jl-and-package-compiler/74849 "2022-01-19T05:03:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![a3pelawi](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@a3pelawi](https://discourse.julialang.org/u/a3pelawi)\
**Post date:** [January 19, 2022, 5:03am UTC](https://discourse.julialang.org/t/genie-jl-and-package-compiler/74849/1 "2022-01-19T05:03:34Z")

</div>

Hello,  
I’m new in julia, but this is very promising and good.  
I have make a project with genie.jl. Everything run good. Like run command bin/repl or bin/server, run very good.  
My question is, how to make it to sytem image using package compiler, and how to run it?

I tested it using mac os and windows.  
Thanx and sorry for my english 🙂

---

<div class="post-metadata">

**Author:** ![jzr](https://avatars.discourse-cdn.com/v4/letter/j/eb9ed0/32.png) [@jzr](https://discourse.julialang.org/u/jzr)\
**Post date:** [January 19, 2022, 10:28am UTC](https://discourse.julialang.org/t/genie-jl-and-package-compiler/74849/2 "2022-01-19T10:28:30Z")

</div>

Have you seen the PackageCompiler docs?

[https://julialang.github.io/PackageCompiler.jl/dev/apps.html](https://julialang.github.io/PackageCompiler.jl/dev/apps.html)

---

<div class="post-metadata">

**Author:** ![a3pelawi](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@a3pelawi](https://discourse.julialang.org/u/a3pelawi)\
**Post date:** [January 21, 2022, 8:24am UTC](https://discourse.julialang.org/t/genie-jl-and-package-compiler/74849/3 "2022-01-21T08:24:05Z")

</div>

Thanx jzr,  
I have fixed, may this script can help the other.  
Make sure your genie project is running, it can be confirmed by running the command:  
bin/repl  
or  
bin/server

If everything ok, out from julia repl and then run julia command:  
julia -q  
julia\>using PackageCompiler  
]  
(@v1.7) pkg\> activate .  
julia\> create\_sysimage([“YourProjectName.”], sysimage\_path=“YourProjectName.so”)  
… and wait …  
julia\>exit()

test your project:  
julia --color=yes --depwarn=no --project=@. -q -L bootstrap.jl -J YourProjectName.so – “$@”
