/nanocloud

Primary LanguageJavaScriptGNU Affero General Public License v3.0AGPL-3.0

Nanocloud

Build Status Code Climate

Next version of Nanocloud is still in heavy develoment

Run

Nanocloud relies on Docker containers to run its stack.

docker-compose build
docker-compose up

Some environment variable are expected to be set in config.env:

  • IAAS (mandatory) currently only "manual" in implemented

Manual driver specific:

  • EXECUTION_SERVERS (mandatory) the IP of the execution server
  • WINDOWS_PASSWORD (mandatory) the Windows password for the administrator account

Once loaded, Nanocloud will be accessible on localhost.

Run in developer mode

Nanocloud also relies on Docker to run its development stack:

docker-compose build
docker-compose -f docker-compose-dev.yml build
docker-compose -f docker-compose-dev.yml up

Backend and frontend containers are automatically updated when source code changes in dev mode. All services are accessible on localhost.

Tests

To run all tests:

make tests

This will run all tests defined in ./tests/test-all.sh.

Alternativelly, tests can be run individually:

  • make test-api to test the API
  • make test-jshint to analyse code for errors and warnings

API tests expects a postgres database up and running on localhost

Licence

This file is part of Nanocloud community.

Nanocloud community is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Nanocloud community is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.