https://github.com/abourtnik/templatebook
A social network for designers
https://github.com/abourtnik/templatebook
laravel mysql nginx paypal php7 social-network
Last synced: about 2 months ago
JSON representation
A social network for designers
- Host: GitHub
- URL: https://github.com/abourtnik/templatebook
- Owner: abourtnik
- License: mit
- Created: 2019-07-04T11:04:05.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-05-04T15:13:29.000Z (about 4 years ago)
- Last Synced: 2025-01-18T06:13:21.657Z (4 months ago)
- Topics: laravel, mysql, nginx, paypal, php7, social-network
- Language: PHP
- Homepage:
- Size: 796 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Contributing: contributing.md
- License: LICENSE
Awesome Lists containing this project
README
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
```shell
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/](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
```shell
php artisan migrate
php artisan db:seed
```### Generate key and link storage folder
```shell
php artisan key:generate
php artisan storage:link
```### Configure Paypal API
Create merchant and buyer accounts at [https://developer.paypal.com/developer/accounts/create](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](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](https://github.com/Templatebook/templatebook/blob/master/contributing.md) for guidelines about how to proceed. Join us!
Trying to report a possible security vulnerability in TemplateBook ? Send an email to
**[email protected]** with clear description of security vulnerability.## License
TemplateBook is made available under the [MIT License](http://www.opensource.org/licenses/mit-license.php).## Credits
TemplateBook is created and maintained by
[Anton Bourtnik](https://github.com/abourtnik) &
[Tharshan Sivapalan](https://github.com/TharshanSivapalan)