Giter Club home page Giter Club logo

Comments (6)

tobbenb avatar tobbenb commented on September 6, 2024

I'm not sure I understand what the issue is. I haven't used this container, but can't you simply browse to the mounted volume and open your existing project?

from docker-codiad.

peter-hartmann avatar peter-hartmann commented on September 6, 2024

@tobbenb the only mountabe volume is 'config'. There is no easy way to mount existing projects.

from docker-codiad.

tobbenb avatar tobbenb commented on September 6, 2024

You can mount what you want. Just use the -v option when you create the container.
In codiad you can browse through the the mount point you chose.

from docker-codiad.

peter-hartmann avatar peter-hartmann commented on September 6, 2024

The way I understand it - after mounting a folder you'll still need to create a codiad project and then inspect data/projects.php file to see how the pathing is laid out and modify that php file manually. Or replace the project folder created with codiad with a symlink to your own folder. However if you have multiple projects this quickly becomes painful.

from docker-codiad.

tobbenb avatar tobbenb commented on September 6, 2024

I played with codiad a little now and see what you mean. But I don't really see how to make this a one solution fits all.
You either have to copy the files into the correct folders inside /config or edit the config.php.
Might be better to ask the codiad developers to make an easy export/import function. Might even be a plugin for that already.
I see you can import from a git repo when creating a new project, so that might be the best option.

from docker-codiad.

peter-hartmann avatar peter-hartmann commented on September 6, 2024

Agree, ideally codiad would support this better.
This docker container here perhaps could simply start with a pre-configured project where the project folder is a volume that can optionally be mapped to a container folder?
The just-spawn-and-go short setup instructions would make it very attractive for codiad newbies.

from docker-codiad.

Related Issues (6)

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.