Anuj-Panthri commited on
Commit
86f0c03
1 Parent(s): 32c8469

added steps to run

Browse files
Files changed (4) hide show
  1. .env.example +8 -6
  2. .gitattributes +36 -0
  3. Dockerfile +9 -0
  4. README.md +23 -0
.env.example CHANGED
@@ -8,12 +8,14 @@ LOG_CHANNEL=stack
8
  LOG_DEPRECATIONS_CHANNEL=null
9
  LOG_LEVEL=debug
10
 
11
- DB_CONNECTION=mysql
12
- DB_HOST=127.0.0.1
13
- DB_PORT=3306
14
- DB_DATABASE=laravel
15
- DB_USERNAME=root
16
- DB_PASSWORD=
 
 
17
 
18
  BROADCAST_DRIVER=log
19
  CACHE_DRIVER=file
 
8
  LOG_DEPRECATIONS_CHANNEL=null
9
  LOG_LEVEL=debug
10
 
11
+ DB_CONNECTION=sqlite
12
+
13
+ # DB_CONNECTION=mysql
14
+ # DB_HOST=127.0.0.1
15
+ # DB_PORT=3306
16
+ # DB_DATABASE=laravel
17
+ # DB_USERNAME=root
18
+ # DB_PASSWORD=
19
 
20
  BROADCAST_DRIVER=log
21
  CACHE_DRIVER=file
.gitattributes CHANGED
@@ -9,3 +9,39 @@
9
  /.github export-ignore
10
  CHANGELOG.md export-ignore
11
  .styleci.yml export-ignore
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  /.github export-ignore
10
  CHANGELOG.md export-ignore
11
  .styleci.yml export-ignore
12
+
13
+ *.7z filter=lfs diff=lfs merge=lfs -text
14
+ *.arrow filter=lfs diff=lfs merge=lfs -text
15
+ *.bin filter=lfs diff=lfs merge=lfs -text
16
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
17
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
18
+ *.ftz filter=lfs diff=lfs merge=lfs -text
19
+ *.gz filter=lfs diff=lfs merge=lfs -text
20
+ *.h5 filter=lfs diff=lfs merge=lfs -text
21
+ *.joblib filter=lfs diff=lfs merge=lfs -text
22
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
23
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
24
+ *.model filter=lfs diff=lfs merge=lfs -text
25
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
26
+ *.npy filter=lfs diff=lfs merge=lfs -text
27
+ *.npz filter=lfs diff=lfs merge=lfs -text
28
+ *.onnx filter=lfs diff=lfs merge=lfs -text
29
+ *.ot filter=lfs diff=lfs merge=lfs -text
30
+ *.parquet filter=lfs diff=lfs merge=lfs -text
31
+ *.pb filter=lfs diff=lfs merge=lfs -text
32
+ *.pickle filter=lfs diff=lfs merge=lfs -text
33
+ *.pkl filter=lfs diff=lfs merge=lfs -text
34
+ *.pt filter=lfs diff=lfs merge=lfs -text
35
+ *.pth filter=lfs diff=lfs merge=lfs -text
36
+ *.rar filter=lfs diff=lfs merge=lfs -text
37
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
38
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
39
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
40
+ *.tar filter=lfs diff=lfs merge=lfs -text
41
+ *.tflite filter=lfs diff=lfs merge=lfs -text
42
+ *.tgz filter=lfs diff=lfs merge=lfs -text
43
+ *.wasm filter=lfs diff=lfs merge=lfs -text
44
+ *.xz filter=lfs diff=lfs merge=lfs -text
45
+ *.zip filter=lfs diff=lfs merge=lfs -text
46
+ *.zst filter=lfs diff=lfs merge=lfs -text
47
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
Dockerfile ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ FROM bitnami/laravel;
2
+
3
+
4
+ EXPOSE 8000
5
+ COPY ./ /app
6
+ WORKDIR /app
7
+
8
+ RUN touch database\database.sqlite;
9
+ RUN php artisan migrate;
README.md CHANGED
@@ -64,3 +64,26 @@ ## Security Vulnerabilities
64
  ## License
65
 
66
  The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  ## License
65
 
66
  The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
67
+
68
+
69
+ ---
70
+ title: TODOList Laravel
71
+ emoji: 👀
72
+ colorFrom: yellow
73
+ colorTo: red
74
+ sdk: docker
75
+ pinned: false
76
+ app_port:8000
77
+ ---
78
+
79
+ hosted on hugging face space :
80
+
81
+ ## Steps to Run
82
+
83
+ 1. git clone this repo
84
+ 1. cp .env.example .env
85
+ 1. composer install
86
+ 1. php artisan key:generate
87
+ 1. make database changes to .env file(skip it as I have updated .env.example)
88
+ 1. php artisan migrate
89
+ 1. php artisan serve