ladogton2010 commited on
Commit
37626f7
·
1 Parent(s): f0667f6

Estructura básica MVC

Browse files
Dockerfile ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM debian:12.6
2
+
3
+ RUN apt update -y
4
+ RUN apt upgrade -y
5
+ RUN apt install -y php php-pdo php-mysql
6
+
7
+ COPY app app
8
+ COPY public public
9
+
10
+ CMD [ "bash", "-c", "php -S 0.0.0.0:7860 /" ]
app/.httaccess ADDED
@@ -0,0 +1 @@
 
 
1
+ Options -Indexes
app/config/config.php ADDED
File without changes
app/controllers/.gitkeep ADDED
File without changes
app/helpers/.gitkeep ADDED
File without changes
app/init.php ADDED
File without changes
app/libraries/Controller.php ADDED
File without changes
app/libraries/Core.php ADDED
File without changes
app/libraries/Database.php ADDED
File without changes
app/models/.gitkeep ADDED
File without changes
app/views/home/index.php ADDED
File without changes
app/views/inc/footer.php ADDED
File without changes
app/views/inc/header.php ADDED
File without changes
public/css/styles.css ADDED
File without changes
public/img/.gitkeep ADDED
File without changes
public/index.php ADDED
File without changes
public/js/main.js ADDED
File without changes