-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.html
131 lines (108 loc) · 4.77 KB
/
readme.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<!-- saved from url=(0022)http://internet.e-mail -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Help</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<style>
body {
font-family: sans-serif;
font-size: 18px;
font-weight: 500;
color: #fff;
line-height: 30px;
background-color: transparent;
}
.conteudo {
background-color: #fff;
color: #000;
margin-top: 40px;
padding: 50px 0px 50px 100px;
/*text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;*/
border-radius: 10px;
}
.conteudo a{
color: rgb(95, 200, 125);
text-decoration: underline;
}
.bg-cover {
position: fixed;
left: 0px;
right: 0px;
width: 100%;
height: 100%;
background: url('public/codeandcode.jpg') no-repeat center center fixed;
background-size: cover;
z-index: -9999;
}
.image {
margin-right: 50px;
height: 129px;
width: 200px;
}
</style>
</head>
<body>
<div class="bg-cover"></div>
<div class="container">
<div class="conteudo">
<img src="public/logoBasic.png" class="pull-right image">
<h1>Help</h1>
<h3>Dependências do Projeto</h3><br/>
<h4>Requisitos necessários</h4>
<ul>
<li>php 5.5.9</li>
<li>composer</li>
</ul>
<h4><a href="https://github.com/angelobiscola/config-ambient" target="_blank" >Instalação de Requisitos</a></h4></br>
<h2>Instalação Automática</h2>
<p>Para instalação automática das dependências do projeto, execute o seguinte comando:</br>
<h4><i>bash install.sh</i></h4>
</p>
<h2>Instalação Manual</h2>
<ul>
<p>Para instalar as dependências do projeto, execute o seguinte comando:</br>
<h4><i>composer install</i></h4>
</p>
<h2>Migrações</h2>
<p>Para criar as tabelas necessárias, basta rodar o comando:
<ul>
<li>touch database/database.sqlite</li>
<li>php artisan migrate</li>
<li>php artisan db:seed --class=StartTableSeeder</li>
</ul>
<h2>Gerar Key</h2>
<p>Precismos de uma key 32 bits, pode usar seguinte site</p>
<a href="http://textmechanic.com/text-tools/randomization-tools/random-string-generator/" target="_blank">http://textmechanic.com/text-tools/randomization-tools/random-string-generator/</a>
<h2>Server Start</h2>
<p>Para inicar o APP php artisan</p>
<p>
<ul>
<li>php artisan serve -> http://localhost:8000</li>
<li>php artisan server --host "ip" --port "30" -> http://ip:port</li>
<li>php -S localhost:8090 -t ./public/</li>
</ul>
<p/>
<h2>Configuracao .env</h2>
<p>Para criar arquivo .env, basta rodar o comando: cp .env.example .env</p>
<ul>
<li>APP_ENV=local</li>
<li>APP_DEBUG=false</li>
<li>APP_KEY=SomeRandomKey!!!</li>
<li>AUTH_DRIVE=eloquent</li>
<li>AUTH_MODEL=\App\Model\User</li>
<li>AUTH_TABLE=users</li>
<li>DB_CONNECTION=sqlite</li>
<li>SESSION_DRIVER=cookie</li>
<li>CACHE_DRIVER=file</li>
<li>QUEUE_DRIVER=sync</li>
</ul>
</ul>
</div>
</div>
</body>
</html>