Giter Club home page Giter Club logo

japanese-symfony's Introduction

japanese-symfony

Build Status

This is a school project @hetic. The subject was creating a Japanese-like website with Symfony. Thanks to our teacher @Bunkermaster.

Installation

Requirements: To make this work you need to use PHP 7.0 and install/launch a mysql server (via Mamp for example).

To install this repo:

# Install the project locally
git clone [email protected]:H-L/japanese-symfony.git
cd japanese-symfony
composer install

# Installing DB and update it
php app/console doctrine:database:create
php app/console doctrine:schema:update

# For hard reset use this command before the 2 above, it will delete your current DB :
php app/console doctrine:database:drop

# We also created a command to initialise a little work database :
php app/console app:initialise:db

# Launch the server
php app/console server:run

Front End

The project works sass and gulp. The views are in Resources/views and the scss files are in Resources/scss. After running gulp sync, scss files with compile automatically.

For views, public site views are in Resources/views/default. All views extends scss/base.html.twig, which contains header and footer. A folder by page is done, with a main file page/page.html.twig, and optionnal other views. This other views of /page must be included in the main file.

Gulp Commands

# Launch the server : will sync assets and launch symfony server:run command :
gulp sync

# Just the assets, without launching the server :
gulp watch

Commits

Commit messages must follow this guide : gitmoji | An emoji guide for your commit messages with in addtion 🙏 for merge conflict commits.

you can also add brackets to precise the subject of the commit. exemple : git commit -m ":lipstick: [maid-page] made css for search bar"

Branches

Call uour branches with clear, short names. You can add a 'flag' to indicate the purpose of the branch : -New : new feature -Fix : fixing a bug -Hotfix : critical quick fix

exemple : git checkout -b New-Maid_entity

Test Users

The command php app/console app:initialise:db creates two test users.

username : testUser email : [email protected] password : testpass

username : adminUser email : [email protected] password : adminpass

Custom commands

Here is a list of custom commands we made to create/list our DB items easily :

# Create a Maid
php app/console app:maid:add

# Listing Maids
php app/console app:maid:list

# Create a restaurant
php app/console app:restaurant:add

# Create/import Images from local dir to DB and copy images in web/uploads/images
php app/console app:add_images

# Create a timeslot for scheduling
php app/console app:timeslot:add

Team & Collaborators

Our team is called カワイイTV (KAWAII TV ). It is composed of 6 members:

  • Marie-Alix LESELLIER | Developper Back-end @m-a-l
  • Hadrien LEPOUTRE | Developper Back-end @H-L
  • Alexandra COSSID | Developper Front-end @acossid
  • Alexandre CHICHPORTICH | Developper Front-end @alexandrechich
  • Blas ALVIZ | Designer @BlasAlviz
  • Raphaëlle LIMOGES | Designer @lraphy

japanese-symfony's People

Contributors

alexandrechich avatar h-l avatar m-a-l avatar raphyl avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  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.