Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kyledoesdev/tattery

An instagram/pintrest hybrid web app for specifically posting and sharing images and locations of one's tattoos.
https://github.com/kyledoesdev/tattery

blade laravel php vue

Last synced: about 1 month ago
JSON representation

An instagram/pintrest hybrid web app for specifically posting and sharing images and locations of one's tattoos.

Awesome Lists containing this project

README

        

Tattoo Gallery


This repo is a web-app made with friends where they can display a portfolio of photos of the tattoos they have, while also learning about front end web development, version control and get a taste for working in php/laravel.

Setup Instructions to Collaberate


Feel free to fork/clone the repo and add something or fix something

## Prerequistes
Have the following installed:
### Windows:
* [PHP 7.4](https://windows.php.net/download#php-7.4)
* [Composer](https://getcomposer.org/)
* [Git](https://git-scm.com/downloads)
* [MySql](https://dev.mysql.com/downloads/installer/) / [MySql Workbench](https://dev.mysql.com/downloads/workbench/)
* [NodeJS](https://nodejs.org/en/)

### Mac:
>brew install [email protected]

>brew install composer

>brew install git

>brew install mysql

>brew install node

and the workbench (link above)

### Once all the above are installed, clone the repository:
>git clone (repo)

Now set up your database schema in the MySql Workbench:
Your schemea can be titled whatever you like, I named mine: "tattoo_gallery"

### Configure your .env
The .env file is not committed to github, but the .env.example file is
>Create a new file called .env in the root of your project directory

>Copy the boilerplate keys and values from the .env.example file into your new .env file

>Set your "DB_USERNAME", "DB_PASSWORD", "DB_DATABASE" values

Everything else should be set correctly from the .env.example file

Mine personally are 'root' and 'passoword' but these can be whatever you set up when configuring MySql workbench.
>Set "DB_DATABASE" to whatever you named your schema, eg. "tattoo_gallery"

### Now that your database is setup, run the following commands:
>composer install

If on windows, you may need to run
>composer install --ignore-platform-reqs

Then run:

>npm install

>npm run dev

>php artisan migrate

If you run "php artisan migrate" and it fails, or if you have just installed php for the first time, you may need to locate the source of where you installed php and edit your php.ini file and uncomment the following extensions. (remove the semicolons before each line)
* extension=php_mysql
* extension=php_mysqli
* extension=php_pdo_mysql
* extension=php_intl
* extension=php_curl
* extension=php_bz2
* extension=php_exif
* extension=php_mbstring
* extension=php_pdo_sqlite

If you had a terminal session open, be sure to restart it and then run:
>php artisan db:wipe

>php artisan migrate

All the migrations should have run now succesfully.

### Next run the following to generate an app key and set up the local file storage system

>php artisan key:generate

>php artisan storage:link

## To launch the devlopment server:

>php artisan serve

In your web browser of choice, go to: http://localhost:8000 and you should see the main landing page.

### Congratulations, your enviornment is all set up! But now what?

To get started working on a feature or fix, do the following:
Ensure you are on the master branch and:
>git branch feature/your-feature-name

>git checkout feature/your-feature-name

When ready to push commits:

>git push origin feature/your-feature-name