Idéa is an application with the purpose of expanding the coverage of education, through interactive and dynamic ideas, in which it is possible to apply improvements to the educational system through the implementation of international models that facilitate learning, from both a technical and socio-emotional point of view.
It should also be noted that it has been conceived with a focus on learning and training, not on certification. In other words, it is intended to present material dedicated to teaching and literacy. It consists of support that is not necessarily linked to an academic degree.
Instructions on how to run our application for local development (in localhost). If you have PHP 8 installed you can skip to 'Install ιδέα'.
Specific to CentOS 8. You may find that package names as well as some configuration is different in your OS. All commands should be executed as root.
- Disable and stop firewalld service:
systemctl disable --now firewalld
- Install PHP 8 and some basic PHP 8 packages:
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
dnf install -y https://rpms.remirepo.net/enterprise/remi-release-8.rpm
dnf module list php # lists possible versions of PHP
dnf module enable php:remi-8.0 -y
dnf install -y php php-cli php-common php-fpm php-json php-zip php-mysql wget unzip
- Install MariaDB:
dnf -y install mariadb-server
systemctl enable --now mariadb.service # start and enable mariadb service
- Install composer:
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
chmod +x /usr/local/bin/composer
- Create database and user in MariaDB. Enter MariaDB command line as root using
mysql
command. Then enter:
CREATE DATABASE idea;
GRANT ALL ON <database_name>.* TO <database_user>@localhost IDENTIFIED BY '<database_user_password>';
- Clone the repository:
git clone https://github.com/jandrovins/idea.git
- Install app dependencies with composer:
cd idea; composer install
- Replace the following parameters in
.env
(we provide a template.env-example
):
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=<port>
DB_DATABASE=<database_name>
DB_USERNAME=<database_user>
DB_PASSWORD="<database_user_password>"
- Generate key to be stored in
.env:APP_KEY
parameter:
php artisan key:generate
- Create tables in DB:
php artisan migrate
- Create admin user and populate database (before this was done with a SQL file):
php artisan db:seed
- Run tests.
php artisan test
- Run and enjoy!
php artisan serve --port=8000 --host=0.0.0.0
- Adrián Gutiérrez
- Simón Flórez
- Vincent Arcila