RETIRED, Fuel UI
Go to file
Maxim Kulkin 09686a7226 Added build directory to .gitignore 2012-06-15 22:00:03 +04:00
bin json generating and downloading for deployment 2012-06-13 14:58:15 +04:00
bootstrap fixed bootstrap image error 2012-06-13 10:52:20 +04:00
ci_with_libvirt some fixes in ci_with_libvirt/domain.xml.template 2012-05-17 18:39:28 +04:00
cookbooks modified settings.py and wsgi.py 2012-06-15 20:44:14 +04:00
devops some functionality was added to devops 2012-06-13 21:03:55 +04:00
gnupg Added Make rule to build Nailgun installation iso 2012-06-13 11:44:40 +04:00
iso2 [iso] Fixed incorrect iso build rules 2012-06-15 21:59:01 +04:00
lib/provision Cleaned up Cobbler provisioner 2012-05-15 15:50:56 +04:00
nailgun Add release roles to sample environment, create release models on client side 2012-06-15 20:48:46 +04:00
scripts solo-admin.json solo.cron solo.rc.local were moved into iso2 2012-06-08 18:13:53 +04:00
test some modifications in test (command line options were added to integration.py) 2012-06-14 15:15:11 +04:00
vagrant/cookbooks Added mock pip to deps 2012-06-15 14:12:16 +04:00
.gitignore Added build directory to .gitignore 2012-06-15 22:00:03 +04:00
Makefile Added Make rule to build Nailgun installation iso 2012-06-13 11:44:40 +04:00
README.md readme for chef installation fixed 2012-06-14 19:34:33 +04:00
Vagrantfile [vagrant] Converted Vagrantfile to multi-VM 2012-06-13 15:06:27 +04:00
requirements-deb.txt modified settings.py and wsgi.py 2012-06-15 20:44:14 +04:00
requirements.txt Created recipe to install reqs for CI 2012-05-15 16:55:53 +04:00
rules.mk [iso] Fixed incorrect iso build rules 2012-06-15 21:59:01 +04:00

README.md

NAILGUN

How to run Nailgun app from fixtures

Remove old DB:

cd nailgun rm -f nailgun.sqlite

Sync DB:

./manage.py syncdb --noinput

Load data from fixtures:

./manage.py loaddata sample_environment

Run application:

./manage.py runserver

Access Web UI at http://localhost:8000/

Deploying virtual environment

Using vagrant:

Note: uncomment config.vm.forward_port 8000, 8000 in Vagrantfile for working with django webui.

For VM deployment run: vagrant up

The working directory is /vagrant.

W/O vagrant:

Installing chef (source):

~$ echo "deb http://apt.opscode.com/ `lsb_release -cs`-0.10 main" | sudo tee /etc/apt/sources.list.d/opscode.list

~$ sudo mkdir -p /etc/apt/trusted.gpg.d

gpg --keyserver keys.gnupg.net --recv-keys 83EF826A

gpg --export packages@opscode.com | sudo tee /etc/apt/trusted.gpg.d/opscode-keyring.gpg > /dev/null

~$ sudo apt-get update && sudo apt-get install opscode-keyring

~$ sudo apt-get install chef

Installing dependencies

~$ cd scripts/ci && chef-solo -l debug -c solo.rb -j solo.json

Testing

Nailgun:

Testing script is nailgun/run_tests.sh Test cases:

  • nailgun/nailgun/tests/test_handlers.py
  • nailgun/nailgun/tests/test_models.py