Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eddiejaoude/toran-proxy-vagrant-ansible

Local mirror of Packagist with Toran Proxy and Vagrant / Ansible
https://github.com/eddiejaoude/toran-proxy-vagrant-ansible

Last synced: 3 months ago
JSON representation

Local mirror of Packagist with Toran Proxy and Vagrant / Ansible

Awesome Lists containing this project

README

        

# Toran proxy with Vagrant & Ansible

Getting started an example/demo/personal usage of Toran Proxy - Packagist mirror

See **Toran Proxy** [licensing](https://toranproxy.com) - remember, people worked hard on this and continue to do so, plus lets face it, it is an amazing dependency manager for **PHP**. Support your tools & community. (approximetly $10 / per month).

# Requirements

* vagrant

# Example Usage

1. Clone & Run `vagrant up`
2. Add host entry `192.168.33.100 toranproxy.local`
3. Navigate to `toranproxy.local` and follow it's setup instructions

If you wish to download the whole of Packagust's packges from GitHub for offline use, get a list from [Toran/Packagist Package list](https://github.com/eddiejaoude/toran-proxy-packages). Then update either via the web form on `toranproxy.local` or manually edit the yml config for the packages list in `toran/app/toran/config.yml`

---

# Known issues

A few people have had issues with CSRF token and Toran proxy setup form. The way to get around this is to turn off CSRF validation in the config.

Update `toran/app/config/config.yml` where **csrf_protection** with:

```yaml
framework:
# ...
csrf_protection: false
# ...
```

Any questions raise an [issue here](https://github.com/eddiejaoude/toran-proxy-vagrant-ansible/issues).