Просмотр исходного кода

update Vagrantfile and docs

tags/v1.5.4
Jonathan Cobb 4 лет назад
Родитель
Сommit
4efa7f1ee7
2 измененных файлов: 8 добавлений и 4 удалений
  1. +4
    -3
      Vagrantfile
  2. +4
    -1
      docs/dev.md

+ 4
- 3
Vagrantfile Просмотреть файл

@@ -57,16 +57,17 @@ Vagrant.configure("2") do |config|
s.env = { LETSENCRYPT_EMAIL: ENV['LETSENCRYPT_EMAIL'] }
s.privileged = false
s.inline = <<-SHELL
cd /vagrant
# Copy shared bubble dir to ${HOME}
rsync -a /vagrant ${HOME}/bubble

# Initialize the system
./bin/first_time_ubuntu.sh
cd ${HOME}/bubble && ./bin/first_time_ubuntu.sh

# Clone and build all dependencies
SKIP_BUBBLE_BUILD=1 ./bin/first_time_setup.sh

# Build the bubble jar
BUBBLE_PRODUCTION=1 mvn -DskipTests=true -Dcheckstyle.skip=true -Pproduction clean package
BUBBLE_PRODUCTION=1 mvn -DskipTests=true -Dcheckstyle.skip=true -Pproduction clean package 2>&1 | tee /tmp/build.log

# Write bubble API port
echo \"export BUBBLE_SERVER_PORT=${BUBBLE_PORT}\" > ~/.bubble.env


+ 4
- 1
docs/dev.md Просмотреть файл

@@ -7,7 +7,10 @@ and the [Bubble API Reference](https://app.getbubblenow.com/apidocs/)

# Vagrant Setup
The easiest way to get started with Bubble is to install [Vagrant](https://www.vagrantup.com/) and use
the Bubble [Vagrantfile](../Vagrantfile):
the Bubble [Vagrantfile](../Vagrantfile).

There are a few environment variables you can use to configure how the Vagrant box is initialized.
Read the Bubble [Vagrantfile](../Vagrantfile) to find out more about these settings.

```shell script
vagrant up


Загрузка…
Отмена
Сохранить