Giter VIP home page Giter VIP logo

Comments (6)

BruegelN avatar BruegelN commented on July 28, 2024

Just wanted to let you know that with the current libigl-website.yml and anaconda 4.6.11 and 4.6.14 one can build the website on macOS following the steps from https://github.com/libigl/libigl.github.io#building-the-website.

Bildschirmfoto 2019-05-23 um 16 40 10

mkdocs gh-deploy works aswell!

from libigl.github.io.

jdumas avatar jdumas commented on July 28, 2024

Awesome! Yes I spent some time fixing this yesterday. I've tested it on Linux and Windows. Glad to know it works on macOS as well. I'll close this issue then.

from libigl.github.io.

jdumas avatar jdumas commented on July 28, 2024

@alecjacobson are you having trouble with the new conda environment?

from libigl.github.io.

alecjacobson avatar alecjacobson commented on July 28, 2024

A little bit. I think I figured out now.

The sym link on README.md threw off my local instructions, so I didn't see the conda instructions right away. Now I have it working. Quite a process just to convert markdown to html, but I guess most of it just needs to be set up once.

side issue: Is there a way to install conda without it taking over my whole shell? I don't like that it's monkeying with my bash_profile

from libigl.github.io.

jdumas avatar jdumas commented on July 28, 2024

Well, miniconda by itself will not add anything to your bashrc or bash_profile (I think it will ask you if you want to add anything to your bashrc during the installation process). If you don't put anything in your bashrc, you can simply enable conda when you need it by sourcing it:

source /opt/miniconda3/etc/profile.d/conda.sh

And then proceed to enable the environment for the website:

conda activate libigl-website

I agree it's a bit involved, but that' about the only way to ensure we have a reproducible working environment (after all, the plugin for the figure caption already broke with the latest update of the PythonMarkdown plugin...). Now that the environment is here, it guaranteed to not break in the future, which is a big plus :D

from libigl.github.io.

BruegelN avatar BruegelN commented on July 28, 2024

Overwriting systems' python with anaconda is indeed not optimal.
I've baned all conda related stuff from my ~/.bash_profile (respectivly ~/.bashrc on my ubuntu workstation).

If you used homebrew cask to install anaconda it is located under /usr/local/anaconda3/. So you could run source /usr/local/anaconda3/bin/activate libigl-website to just activate the env for this repo.

from libigl.github.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.