Skip to content

Commit d05e812

Browse files
authored
Removed references to Vagrant from README
1 parent 9be8b93 commit d05e812

File tree

1 file changed

+0
-68
lines changed

1 file changed

+0
-68
lines changed

README.md

Lines changed: 0 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -331,71 +331,3 @@ POSTGRESQL_MAX_CONNECTIONS=200
331331

332332
In this case PostgreSQL will run accepting 200 maximum connections.
333333

334-
## Test project generation and docker-compose build Vagrant usage
335-
336-
Testing with [vagrant](https://www.vagrantup.com/docs) works like this:
337-
What vagrant does:
338-
339-
Starts a vm for test on docker swarm:
340-
- configures a GeoNode project from template every time from your working directory (so you can develop directly on geonode-project).
341-
- exposes service on localhost port 8888
342-
- rebuilds everytime everything with cache [1] to avoid banning from docker hub with no login.
343-
- starts, reboots to check if docker services come up correctly after reboot.
344-
345-
```bash
346-
vagrant plugin install vagrant-reload
347-
#test things for docker-compose
348-
vagrant up
349-
# check services are up upon reboot
350-
vagrant ssh geonode-compose -c 'docker ps'
351-
```
352-
353-
Test geonode on [http://localhost:8888/](http://localhost:8888/)
354-
355-
To clean up things and delete the vagrant box:
356-
357-
```bash
358-
vagrant destroy -f
359-
```
360-
361-
## Test project generation and Docker swarm build on vagrant
362-
363-
What vagrant does:
364-
365-
Starts a vm for test on docker swarm:
366-
- configures a GeoNode project from template every time from your working directory (so you can develop directly on geonode-project).
367-
- exposes service on localhost port 8888
368-
- rebuilds everytime everything with cache [1] to avoid banning from docker hub with no login.
369-
- starts, reboots to check if docker services come up correctly after reboot.
370-
371-
To test on a docker swarm enable vagrant box:
372-
373-
```bash
374-
vagrant up
375-
VAGRANT_VAGRANTFILE=Vagrantfile.stack vagrant up
376-
# check services are up upon reboot
377-
VAGRANT_VAGRANTFILE=Vagrantfile.stack vagrant ssh geonode-compose -c 'docker service ls'
378-
```
379-
380-
Test geonode on [http://localhost:8888/](http://localhost:8888/)
381-
Again, to clean up things and delete the vagrant box:
382-
383-
```bash
384-
VAGRANT_VAGRANTFILE=Vagrantfile.stack vagrant destroy -f
385-
```
386-
387-
for direct deveolpment on geonode-project after first `vagrant up` to rebuild after changes to project, you can do `vagrant reload` like this:
388-
389-
```bash
390-
vagrant up
391-
```
392-
393-
What vagrant does (swarm or comnpose cases):
394-
395-
Starts a vm for test on plain docker service with docker-compose:
396-
- configures a GeoNode project from template every time from your working directory (so you can develop directly on geonode-project).
397-
- rebuilds everytime everything with cache [1] to avoid banning from docker hub with no login.
398-
- starts, reboots.
399-
400-
[1] to achieve `docker-compose build --no-cache` just destroy vagrant boxes `vagrant destroy -f`
401-

0 commit comments

Comments
 (0)