Pasos preliminares

Versión 6 (Guillermo Zdanowicz, 28/09/2016 21:19)

1 1 Guillermo Zdanowicz
h1. Pasos preliminares
2 1 Guillermo Zdanowicz
3 1 Guillermo Zdanowicz
*Configurar apache*
4 1 Guillermo Zdanowicz
5 1 Guillermo Zdanowicz
*Bajar proyecto de gitlab*
6 1 Guillermo Zdanowicz
7 1 Guillermo Zdanowicz
*Crear la base de datos*
8 2 Guillermo Zdanowicz
9 2 Guillermo Zdanowicz
*editar y configurar acceso en*
10 1 Guillermo Zdanowicz
11 1 Guillermo Zdanowicz
/config/database.php
12 1 Guillermo Zdanowicz
13 1 Guillermo Zdanowicz
Luego
14 1 Guillermo Zdanowicz
15 1 Guillermo Zdanowicz
composer install
16 3 Guillermo Zdanowicz
17 3 Guillermo Zdanowicz
cp .env.example .env
18 3 Guillermo Zdanowicz
19 4 Guillermo Zdanowicz
editar y configurar acceso a base de datos en archivo .env
20 4 Guillermo Zdanowicz
21 3 Guillermo Zdanowicz
php artisan key:generate
22 4 Guillermo Zdanowicz
23 4 Guillermo Zdanowicz
cada vez que se baja hay que poner
24 4 Guillermo Zdanowicz
25 4 Guillermo Zdanowicz
php artisan migrate
26 5 Guillermo Zdanowicz
27 5 Guillermo Zdanowicz
en /databases/seeds/DatabaseSeeder.php
28 5 Guillermo Zdanowicz
29 5 Guillermo Zdanowicz
<pre>
30 5 Guillermo Zdanowicz
    public function run()
31 5 Guillermo Zdanowicz
    {
32 5 Guillermo Zdanowicz
        // $this->call(UsersTableSeeder::class);
33 5 Guillermo Zdanowicz
34 5 Guillermo Zdanowicz
                DB::table('users')->insert([
35 5 Guillermo Zdanowicz
            'name' => 'admin',
36 5 Guillermo Zdanowicz
            'email' => 'informatica@ucu.edu.ar',
37 5 Guillermo Zdanowicz
            'password' => 'ucu522'),
38 5 Guillermo Zdanowicz
        ]);
39 5 Guillermo Zdanowicz
</pre>
40 6 Guillermo Zdanowicz
41 6 Guillermo Zdanowicz
Para correr y cargar los datos configurados (tambien pueden cargarse datos de prueba)
42 6 Guillermo Zdanowicz
43 6 Guillermo Zdanowicz
php artisan db:seed
Redmine Appliance - Powered by TurnKey Linux