PayWord - Information Security Project
PHP JavaScript HTML ApacheConf
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bootstrap
client
config
database
public
resources
storage
tests
.editorconfig
.env.example
.gitattributes
.gitignore
Payword.pdf
artisan
composer.json
composer.lock
gulpfile.js
package.json
phpunit.xml
readme.md
server.php

readme.md

Payword

hosts

127.0.0.1           broker.payword.app
127.0.0.1           vendor.payword.app
127.0.0.1           client.payword.app

Apache vhosts

<VirtualHost *:80>
    DocumentRoot "path/to/payword/public"
    ServerName broker.payword.app
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "path/to/payword/public"
    ServerName vendor.payword.app
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "path/to/payword/client"
    ServerName client.payword.app
</VirtualHost>
Commands
  • composer install
  • cp .env.example .env
  • php artisan key:generate
  • php artisan migrate
  • php artisan db:seed
  • openssl genrsa -out storage/rsa_keys/rsa_priv.pem 1024
  • openssl rsa -pubout -in storage/rsa_keys/rsa_priv.pem -out storage/rsa_keys/rsa_pub.pem
  • openssl genrsa -out client/rsa_keys/rsa_priv.pem 1024
  • openssl rsa -pubout -in client/rsa_keys/rsa_priv.pem -out client/rsa_keys/rsa_pub.pem
  • cd client, npm install, gulp