Skip to content

Commit

Permalink
Remove vagrant
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-jackson committed Apr 15, 2024
1 parent 7584026 commit e196ee1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 116 deletions.
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# Vagrant folder
.vagrant/

# phpstorm project files
.idea/
/nbproject/
Expand All @@ -19,8 +16,6 @@ vendor/

api.html

dockercfg

# These folders are intended to offer a way to add logging for toubleshooting purposes
serverless-mfa-api/override/*.go
serverless-mfa-api/override/server/*.go
Expand Down
17 changes: 4 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,17 @@


## Requirements ##
Linux, macOS
1. Docker

or

Windows (not actively maintained as a development platform)
1. VirtualBox
2. Vagrant
- Docker

## Setup ##
1. Clone this repo
2. (Vagrant users only) Edit Vagrantfile to specify whatever IP address you want, and adjust the synced folder
that gets mounted as /data if you need to
3. Copy ```local.env.dist``` to ```local.env``` and fill in the required variable values.
4. Set the following environment variables on your host (dev) machine:
2. Copy ```local.env.dist``` to ```local.env``` and fill in the required variable values.
3. Set the following environment variables on your host (dev) machine:
- `COMPOSER_CACHE_DIR`: the path where composer should cache packages. This makes composer
installs and updates much faster. Typically `/home/user/.composer`
- `DOCKER_UIDGID`: user ID and group ID. Use `1000:1000` if you are the primary user
on a Linux computer. Otherwise, run `id -u` and `id -g` and use the resulting numbers in place of `1000`.
5. Run `make start`, or if using Vagrant, run `vagrant up`
4. Run `make start`

## Configuration
By default, configuration is read from environment variables. These are documented
Expand Down
98 changes: 0 additions & 98 deletions Vagrantfile

This file was deleted.

0 comments on commit e196ee1

Please sign in to comment.