Code Monkey home page Code Monkey logo

insalan.fr's Introduction

insalan.fr

Code Climate Test Coverage

Website to handle esport tournament

Installation

Download vendors Considering you have composer.phar installed and in your PATH :

composer.phar install

If not set with composer.phar, configure symfony2 :

cp app/config/parameters.yml.dist app/config/parameters.yml
vim app/config/parameters.yml

Create database & load fixtures (php-mbstring needed)

php app/console doctrine:database:create
php app/console doctrine:schema:create
php app/console doctrine:fixtures:load

Install assets

php app/console assets:install #dev
php app/console assetic:dump #prod

Clear cache

php app/console cache:clear #dev
php app/console cache:clear --env=prod

Launch development server

php app/console server:run #localhost only
php app/console server:run 0.0.0.0:9001 #available for everyone 

(you can also use the php builtin development web server : cd web && php -S localhost:9001)

Deploy on shared web hosting services

You can use the deploy-ftp script to deploy on a mutualised website. You must also have ncftp on your client (yum install ncftp/apt-get install ncftp)

  1. Configure your deployment
cd deploy/conf

#Configure ftp
cp ftp.cfg.dist ftp.cfg
vim ftp.cfg

#Configure .htaccess
cp .htaccess.dist .htaccess
vim .htaccess

#Configure parameters.yml
cp parameters.yml.dist parameters.yml
vim parameters.yml
  1. Deploy

Deploy takes approximately 5 minutes.

cd deploy
./deploy-ftp.sh
  1. Remove app/cache/prod content Use filezilla to clear cache, ie remove app/cache/prod folder content

Backup DB before deploy, update it locally and send it after deploy if you changed the schema.

  1. Contributing file

If you wish to contribute to the insalan.fr project, refer to this file.

insalan.fr's People

Contributors

superboum avatar halfa avatar lesterpig avatar nhurman avatar teanan avatar aceltis avatar elykar avatar mlorant avatar nbusseneau avatar tdemulier avatar

Stargazers

 avatar

Watchers

 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.