File tree Expand file tree Collapse file tree 4 files changed +1118
-0
lines changed Expand file tree Collapse file tree 4 files changed +1118
-0
lines changed Original file line number Diff line number Diff line change
1
+ default : help
2
+
3
+ .PHONY : help
4
+ help :
5
+ @echo " \nUsage: make [target] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n"
6
+ @echo " Available targets:\n"
7
+
8
+ @echo "Environment Management --------------------------------------------------------"
9
+ @echo " \033[1m\033[35mclean-venv\033[0m \033[37m(cv)\033[0m: \033[36mRemove virtual environment.\033[0m"
10
+ @echo " \033[1m\033[35minstall\033[0m \033[37m(i)\033[0m: \033[36mInstall dependencies and {{ cookiecutter.project_slug }}.\033[0m"
11
+ @echo " \033[1m\033[35mvenv\033[0m \033[37m(v)\033[0m: \033[36mCreate virtual environment.\033[0m\n"
12
+
13
+ @echo "Documentation -----------------------------------------------------------------"
14
+ @echo " \033[1m\033[35mdocs\033[0m \033[37m(d)\033[0m: \033[36mGenerate project documentation.\033[0m\n"
15
+
16
+ .PHONY : clean-venv
17
+ clean-venv :
18
+ @echo " \nRemoving the virtual environment ++++++++++++++++++++++++++++++++++++++++++++++\n"
19
+ @rm -rf .venv
20
+
21
+ .PHONY : cv
22
+ cv : clean-venv
23
+
24
+ .PHONY : docs
25
+ docs :
26
+ @echo " \nGenerating project documentation ++++++++++++++++++++++++++++++++++++++++++++++\n"
27
+ @mkdocs build
28
+
29
+ .PHONY : d
30
+ d : docs
31
+
32
+ .PHONY : install
33
+ install :
34
+ @echo " \nInstalling dependencies and with this package +++++++++++++++++++++++++++++++++\n"
35
+ @poetry install --no-root
36
+
37
+ .PHONY : i
38
+ i : install
39
+
40
+ .PHONY : venv
41
+ venv :
42
+ @echo " \nCreating a virtual environment ++++++++++++++++++++++++++++++++++++++++++++++++\n"
43
+ @python -m venv .venv
44
+ @echo " \nSummary +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n"
45
+ @echo " Virtual environment created successfully."
46
+ @echo " To activate the environment for this shell session, run:"
47
+ @echo " source .venv/bin/activate"
48
+
49
+ .PHONY : v
50
+ v : venv
Original file line number Diff line number Diff line change
1
+ # Documentation Hub
2
+
3
+ Documentation for ELIXIR Cloud & AAI project.
4
+
5
+ ## Development
6
+
7
+ For ease, certain scripts have been abbreviated in ` Makefile ` , make sure that
8
+ you have installed the dependencies before running the commands.
9
+
10
+ > ** Note** : ` make ` commands are only available for Unix-based systems.
11
+
12
+ To view the commands available, run:
13
+
14
+ ``` sh
15
+ make
16
+ ```
17
+
18
+ Here are some commands that you might find useful:
19
+
20
+ - Making a virtual environment
21
+
22
+ ``` sh
23
+ make v
24
+ ```
25
+
26
+ - Installing dependencies
27
+
28
+ ``` sh
29
+ make i
30
+ ```
You can’t perform that action at this time.
0 commit comments