Giter Club home page Giter Club logo

Comments (7)

tobbenb avatar tobbenb commented on September 6, 2024

It's not possible to set a default path for projects to /config/projects. The reason is that the config uses a base path, which is /config/www/, and Codiad then sets the workspace folder according to the base path.

If you know of a way to set only the projects folder, then please tell.

from docker-codiad.

zeigerpuppy avatar zeigerpuppy commented on September 6, 2024

yes, I see why that's an issue. Really all I want to achieve is a single folder that can be mapped for projects rather than the whole config folder.
I have tried changing the build script a little to see if I can get it working with a separate workspace folder.
Essentially I just got it to pull to a build folder first and then copy to the www folder. This gets around the git errors thrown in pulling to a folder that already has contents, but strangely results in a codiad install that doesn't seem to show files and gives a spinning wheel on projects.

I have forked the project and my changes are shown here: https://github.com/zeigerpuppy/docker-codiad/blob/master/root/etc/cont-init.d/50-install

from docker-codiad.

zeigerpuppy avatar zeigerpuppy commented on September 6, 2024

ah, looks like I have hit this issue: Codiad/Codiad#1082
will update the fork and make a pull request when I get it working...

from docker-codiad.

sparklyballs avatar sparklyballs commented on September 6, 2024

that issue on the codiad github page does not appear in any way connected to your "issue"

from docker-codiad.

sparklyballs avatar sparklyballs commented on September 6, 2024

you can volume mount /config/www/workspace to another location if you require to.

from docker-codiad.

zeigerpuppy avatar zeigerpuppy commented on September 6, 2024

You can't mount the workspace folder because the git clone of codiad fails if the workspace folder is already present (it gets created by docker when the volume mount is created)

from docker-codiad.

sparklyballs avatar sparklyballs commented on September 6, 2024

i've worked out how to set the whitelist folders to allow to use /config/projects as a data folder without the need for glue and string fixes.

i am testing it currently and will eventually push if it stands up well.

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.