/template_beta

Primary LanguagePHPMIT LicenseMIT

TemplateBook logo
TemplateBook

A social network for designers.

Prerequisites

Be sure to have PHP >= 5.6 and MySQL >= 5.6 installed on your computer/server and Web server like Apache or Nginx

Installation

Clone project and install dependencies

git clone https://github.com/Templatebook/templatebook.git
cd templatebook
composer install
composer dump-autoload

Configure your environnment variables

Copy .env.example file and name the copy .env and set your environnment variables in the .env file.

For send and receive mail in local environnment you can use : http://danfarrelly.nyc/MailDev/

If you use Mac OS and MAMP set DB_SOCKET variable like this /Applications/MAMP/tmp/mysql/mysql.sock.

Run migrations and seeders

php artisan migrate
php artisan db:seed

Generate key and link storage folder

php artisan key:generate
php artisan storage:link

Configure Paypal API

Create merchant and buyer accounts at https://developer.paypal.com/developer/accounts/create

And set PAYPAL_ID and PAYPAL_SECRET environnment variables in .env file

You must have a real Paypal account for create sandbox accounts

Configure your web server

Apache or Nginx : https://laravel.com/docs/5.4/installation#web-server-configuration

You can run the intern server by use : php artisan serve --port=8080

Don't forget to replace APP_URL env variable according to your method

Run the project

If your configure your project correctly you can see the home page on your APP_URL

Click to register for create your first user and enjoy !!!

Contributing

We encourage you to contribute to TemplateBook! Please check out the Contributing to TempateBook guide for guidelines about how to proceed. Join us!

Trying to report a possible security vulnerability in TemplateBook ? Send an email to contact@antonbourtnik.fr with clear description of security vulnerability.

License

TemplateBook is made available under the MIT License.

Credits

TemplateBook is created and maintained by Anton Bourtnik & Tharshan Sivapalan,