-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Awesome!.sh
40 lines (38 loc) · 1.18 KB
/
Awesome!.sh
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
#!/bin/bash
# === micro-MVC - Awesome! ====
# A folder structure that assists web development by separating code from design which
# provides a concrete platform for front-end, back-end programmers and designers.
# Coded by George Delaportas (G0D)
# Copyright (C) 2020
rm -rf Awesome!
mkdir Awesome!
cd Awesome!
mkdir design
mkdir code
cd code
mkdir front-end
mkdir back-end
cd back-end
mkdir dispatching
cd ../../design
ln -s ../../framework/content content
ln -s ../../framework/templates templates
ln -s ../../site/css css
ln -s ../../site/pix pix
cd ../code/front-end
ln -s ../../../framework/config config
ln -s ../../../framework/content content
ln -s ../../../framework/errors error_pages
ln -s ../../../framework/logs logs
ln -s ../../../framework/templates templates
ln -s ../../../framework/mvc/views views
ln -s ../../../framework/extensions/js js-ext
ln -s ../../../site/sections sections
cd ../back-end
ln -s ../../../framework/config config
ln -s ../../../framework/logs logs
ln -s ../../../framework/mvc mvc
ln -s ../../../framework/extensions/php php-ext
cd dispatching
ln -s ../../../../framework/misc/dispatchers/conditions mvc
ln -s ../../../../framework/misc/dispatchers/gates ajax