Git Product home page Git Product logo

public-venedi-group.pl's Introduction

venedi-group.pl 

This project is site for some exploration group from Zachodniopomorskie.
To see site: fulfill requirements and act in accordance to below instruction
of installation.

.1. Requirements:
  .a. Symfony
  .b. Composer
  .c. MySQL server
  .d. browser (this site was tested in Google Chrome)

.2. Installation:
  .a. Clone damianut/public-venedi-group.pl repo from GitHub.
  .b. Download and install vendors in cloned repo.
      $ cd <cloned-main-repo-dir>
      $ composer install
  .d. Run MySQL server if it isn't running.
  .e. Create empty `venedi_group_pl` database in MySQL. Then create user
      ('veneder'@'localhost' for example) with password and grant him all
      privileges on `venedi_group_pl`.*
  .f. Configure MySQL server version in `config/packages/doctrine.yaml`.
  .g. Create `.env.local` file and create DATABASE_URL variable in this file
      according to your data (mysql username and password, localhost and port).
      Format of this variable is described in `.env` file.
      Then remove DATABASE_URL from `.env`.
  .h. If your data provided in above variable contains reserved character(s)
      defined in RFC 3986 see following site: 
      https://symfony.com/doc/current/doctrine.html#configuring-the-database
  .i. Create tables in database by execute following commands:
      $ bin/console make:migration
      $ bin/console doctrine:migrations:migrate
  .j. Create following variable in `.env.local`:
      CLIENT_PASS=pwd
      Where 'pwd' is password needed to upload files by '/upload' subpage.
      Create your own password.

.3. Running and testing:
  .a. Run Symfony Local Web Server
      $ cd <cloned-repo-dir>
      $ sudo symfony serve // Server default listening 8000 port
  .b. Go to `http://localhost:<your-port>/` (where '<your-port> is
      the port that is listening by Symfony server) and check, that site works.
  .c. Try to upload news, album with photos and album with videos. Do it on
      "/upload" and pass password from '.env.local'. Check that data was 
      uploaded, by checking subpages of site. If you don't see any changes,
      disable cache.

.4. Possible issues
  .a. Maximum number of files allowed by PHP to send in single request should be
      indicate on upload page. In my case it amount 22.   
/*............................................................................*/

public-venedi-group.pl's People

Contributors

damianut avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.