Skip to content

French-Exception/viky-ai-vagrant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Simply curious about new NLP project from Pertimm ? Let's try out !

This is a single-vm Vagrantfile.

Next step is to use Docker Swarm to run the docker-compose.

You can configure many parameters (cpus, memory, etc.)

Requirements

You need

Installation (Git)

Cloning

git clone git@github.com:French-Exception/viky-ai-vagrant.git
cd viky-ai-vagrant

Set up

During setup phase you can configure different parameters.

For now using simple files to store values (.vm_*).

# Available vars (defaults) :
# vm_default_vm_box=${vm_default_vm_box:="debian/contrib-buster64"}
# vm_default_vm_memory=${vm_default_vm_memory:=2048}
# vm_default_vm_cpus=${vm_default_vm_cpus:=2}
# vm_default_apt_proxy=${vm_default_apt_proxy:=""}
# vm_default_ssh_port=${vm_default_ssh_port:="1234"}
# vm_default_private_net_ip=${vm_default_private_net_ip:="192.168.53.2"}

# Usage example :
vm_default_vm_memory=4096 vm_default_vm_cpus=4 ./.dev/setup.sh

This will brings up a new VM and will install current Viky-Ai git HEAD.

Check .dev/restart.sh to see workflow.

/vagrant will be mounted as your current directory (where the Vagrantfile lives).

Create VM

This will create a new VM using Vagrant.

It will stage the process to save intermediate states so you can easily restart process on failure.

./.dev/start.sh

Recreate VM

./.dev/restart.sh

Packaging VM

vagrant package default

About

Vagrantfile for Viky-Ai project from Pertimm

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published