Skip to content

Build and Deployment

Martin Polanka edited this page Mar 27, 2017 · 8 revisions

Build and Deployment

This article should give overall overview of how to deploy CUK system. What are its specifics and what should be avoided or what is recommended.

Deployment

@todo

  • PHP 7.0

Installation

@todo

  • Clone the git repository
  • Run composer install
  • Create a database and fill in the access information in app/config/config.local.neon (for an example, see app/config/config.local.example.neon)
  • Setup the database schema by running php index.php orm:schema-tool:update --force
  • Fill database with initial values by running php index.php db:fill

Do not forget to make directories temp/ and log/ writable.

It is critical that whole app/, log/ and temp/ directories are not accessible directly via a web browser. See security warning for further details.

Deployment in non-CZ country

CUK was developed in the Czech Republic and for the needs of IFMSA CZ. If you want to deploy CUK in the other country you have to take care of some czech texts mostly in the content of web pages. Translations are not yet provided by default in CUK and might be implemented in the future releases.

Development

CUK system is written with major help of Nette 2.3 framework. So if you want to contribute to this project, at least basic knowledge of Nette framework is needed. Further description of architecture of whole project can be found in Architecture article. Any meaningfull contributions will be considered and eventually merged, so do not hesitate to reimplement nasty parts or add new features.

CUK is developed under MIT License thus it can be forked, modified, commercialize without any further restrictions.

Clone this wiki locally