Skip to content

[PR] extract data directories out of server souces#132

Merged
kyungmi merged 4 commits intowebida:masterfrom
gotchazipc:master
Nov 9, 2015
Merged

[PR] extract data directories out of server souces#132
kyungmi merged 4 commits intowebida:masterfrom
gotchazipc:master

Conversation

@gotchazipc
Copy link
Contributor

Still writing guides on wiki. (resolves #131)

김중훈 added 2 commits November 7, 2015 12:54
 - added new env. var WEBIDA_HOME, with hardcoded default /home/webida
 - added upstart configurations & sudoer file template
 - fixed some .gitignore files
 - removed -s rootfs option in lxc container
 - removed some obsolute configuration properties
 - added many comments to default-conf.js
 - Now configuration respects NODE_ENV and WEBIDA_HOME env variable.
 - (default-)conf.js now have basic sanity check feature
 - using WEBIDA_HOME, most of dirs placed in server source is moved out
   to some safer place. So, developers can handle webida source directory
   with their own accout used for cloning. (Yey!)
 - Wiki has detailed guide how to set-up log, fs, apps dir before install
 - fixed upstart configurations with WEBIDA_HOME
 - fixed upstart configurations author to Webida Team
@gotchazipc gotchazipc changed the title #131 extract data directories out of server souces Issue #131 extract data directories out of server souces Nov 7, 2015
@gotchazipc gotchazipc changed the title Issue #131 extract data directories out of server souces [PR] extract data directories out of server souces Nov 7, 2015
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing all configuration file is safe in any case of running lxc-execute?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's safe. because,

  1. lxc networking configurations are saved in /etc/lxc & /etc/default/lxc-net
  2. rootfs path is saved in container configuration (/home/webida/lxc/webida/config) already. It's better to respect the container config than overriding it with conf.js
    3)${server-source-top}/fs/lxc, containing rootfs & container configuration, is not a part of our code but user's environment, which should be created while installing pre-requisites.

김중훈 added 2 commits November 9, 2015 18:28
  - checked with jshint & eslint
 - removed backward-compatibilty for conf.services.fs.lxc
  (now, should always use conf.services.fs.container.lxc, instead.)
kyungmi added a commit that referenced this pull request Nov 9, 2015
[PR] extract data directories out of server souces
@kyungmi kyungmi merged commit accc36d into webida:master Nov 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extracting data directories out of source directory

2 participants