Skip to content

Commit

Permalink
✅ renamed to init_packages instead of init_py \n changed Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
MalteBoehm committed Dec 23, 2021
1 parent 839b2d4 commit b003bff
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ RUN conda env create environment.yml
# End -> Install Your Python Deppendencies Part

# Start -> Install Julia [deps]
RUN julia src/init/init_py.jl
RUN rm src/init/init_py.jl
RUN julia src/init/init_packages.jl
RUN rm src/init/init_packages.jl
# End -> Install Julia [deps]
EXPOSE 3001
ENTRYPOINT [ "julia" ]
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,5 @@ How to use it without Docker?
-----------------------------

1. Install all requirements (Your Python version \[Default 3.7\] and packages)-> cmd in the same folder where the enviroment.yml is and "conda activate condaDockerEnvironment"
2. Run by cmd "julia src/main.jl"
2. Install all Julia packages in src/init/init_packages.jl by adding "Pkg.add("PackageName")
3. Run by cmd "julia src/main.jl"
1 change: 1 addition & 0 deletions src/init/init_py.jl → src/init/init_packages.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using Pkg
ENV["PYTHON"] = "/root/miniconda3/envs/condy/bin/python3"
#Pkg.add("anotherPackageHere")
Pkg.add("PyCall")
Pkg.build("PyCall")
Pkg.instantiate()
Expand Down

0 comments on commit b003bff

Please sign in to comment.