Comments (7)
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.
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.
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.
that issue on the codiad github page does not appear in any way connected to your "issue"
from docker-codiad.
you can volume mount /config/www/workspace to another location if you require to.
from docker-codiad.
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.
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)
- Spawn codiad container for existing projects HOT 6
- Plugins extension HOT 3
- No index.html results in 403 HOT 9
- Automatic build HOT 9
- Fix example command HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-codiad.