Skip to content

Commit 037c51e

Browse files
committed
Add missing files
1 parent 369ad7f commit 037c51e

File tree

3 files changed

+202
-1
lines changed

3 files changed

+202
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
path: zwik-client
3131
- name: Setup Pages
3232
uses: actions/configure-pages@v5
33+
- name: Build
34+
run: build.sh
3335
- name: Upload artifact
3436
uses: actions/upload-pages-artifact@v3
3537
with:

build.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/usr/bin/env sh
2+
3+
ls -al
4+
5+
mkdir -p install-data
6+
7+
wget https://github.com/conda-forge/miniforge/releases/download/24.3.0-0/Miniforge3-24.3.0-0-Linux-x86_64.sh -O install-data/Miniforge3-24.3.0-0-Linux-x86_64.sh
8+
wget https://github.com/conda-forge/miniforge/releases/download/24.3.0-0/Miniforge3-24.3.0-0-MacOSX-x86_64.sh -O install-data/Miniforge3-24.3.0-0-MacOSX-x86_64.sh
9+
wget https://github.com/conda-forge/miniforge/releases/download/24.3.0-0/Miniforge3-24.3.0-0-Windows-x86_64.exe -O install-data/Miniforge3-24.3.0-0-Windows-x86_64.exe
10+
11+
cp zwik-client/scripts/zwik-install.sh install-data/zwik-install.sh
12+
cp zwik-client/scripts/zwik-install.bat install-data/zwik-install.bat
13+
14+
cp zwik-client/scripts/zwik_client.py install-data/zwik_client.py
15+
cp zwik-client/scripts/zwik_client_settings.py install-data/zwik_client_settings.py
16+
17+
cp zwik-client/bootstrap/zwik_environment zwik_environment.sh
18+
cp zwik-client/bootstrap/zwik_environment.bat zwik_environment.bat

index.html

Lines changed: 182 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,182 @@
1-
Hello Zwik!
1+
2+
<!DOCTYPE html>
3+
<html lang="en">
4+
<head>
5+
<meta charset="UTF-8">
6+
<title>Zwik - A one-click Development Environment solution</title>
7+
<style>
8+
body, html {
9+
font-family: sans-serif;
10+
margin: 0;
11+
height: 100%;
12+
}
13+
14+
body {
15+
display: flex;
16+
flex-direction: column;
17+
}
18+
19+
#container {
20+
margin-top: 2em;
21+
align-items: center;
22+
flex: 1 0 auto;
23+
}
24+
25+
.wrapper {
26+
padding: 2rem;
27+
border-radius: 15px;
28+
}
29+
30+
code {
31+
font-family: monospace;
32+
font-size: 1.15em;
33+
background-color: #afb8c133;
34+
border-radius: 6px;
35+
}
36+
37+
.textbox {
38+
padding: 8px 6px;
39+
height: 2.57em;
40+
box-sizing: border-box;
41+
border-color: var(--border-neutral, #3090b0);
42+
border-width: 1.5px;
43+
border-style: solid;
44+
border: 1px
45+
background-color: transparent;
46+
border-radius: 3px;
47+
font-size: 14px;
48+
width: 45ch;
49+
max-width: 100%;
50+
font-family: sans-serif;
51+
}
52+
53+
.button {
54+
color: #e8e6e6;
55+
padding: 11px 16px;
56+
margin-top: 5px;
57+
font-size: 12px;
58+
cursor: pointer;
59+
border-radius: 2px;
60+
border: none;
61+
background-color: #3090b0;
62+
}
63+
64+
.button.delete {
65+
background-color: #8b0000;
66+
}
67+
68+
.button:hover {
69+
color: #fffcfc;
70+
filter: saturate(150%);
71+
}
72+
73+
#menubar {
74+
padding: 1em 1em;
75+
background-color: #3090b0;
76+
color: #fffcfc;
77+
position: fixed;
78+
top: 0;
79+
left: 0;
80+
right: 0;
81+
z-index: 10;
82+
font-weight: bold;
83+
}
84+
85+
#menubar a {
86+
color: #fffcfc;
87+
}
88+
89+
#footer {
90+
margin: 0;
91+
padding: 1em 1em;
92+
background-color: #3090b0;
93+
color: #fffcfc;
94+
flex-shrink: 0;
95+
}
96+
97+
.comparison {
98+
border: 1px solid #000;
99+
border-collapse: collapse;
100+
}
101+
.comparison thead {
102+
background-color: #afb8c133;
103+
}
104+
.comparison th, .comparison td {
105+
border: 1px solid #000;
106+
padding: 0.2em 1em;
107+
}
108+
.comparison td {
109+
text-align: center;
110+
}
111+
112+
.comparison th,
113+
.comparison td.feature,
114+
.comparison td.section {
115+
text-align: left;
116+
}
117+
118+
.comparison td.section {
119+
font-weight: bold;
120+
}
121+
122+
.token-table {
123+
width: 80%;
124+
border-collapse: collapse;
125+
margin: 1em 0;
126+
}
127+
128+
.token-table th,
129+
.token-table td {
130+
border: 1px solid black;
131+
padding: 10px;
132+
text-align: left;
133+
}
134+
135+
.token-table th {
136+
background-color: #f2f2f2;
137+
}
138+
</style>
139+
140+
</head>
141+
<body>
142+
<nav id="menubar">
143+
<a href="/">Home</a>
144+
</nav>
145+
<div id="container">
146+
<div class="wrapper">
147+
148+
<h1>Your one-click Development Environment solution</h1>
149+
150+
<h2>About Zwik</h2>
151+
<p>Zwik is a powerful solution for creating development environments. It ensures consistency by using the same tools and versions across projects. Zwik supports Windows, Linux, and MacOS, and requires no pre-installed dependencies.</p>
152+
153+
<h2>Cool! How to get started?</h2>
154+
<ol>
155+
<li>Download the bootstrap script for <a href="/zwik_environment.sh" target="_blank">Linux/Mac</a> or <a href="/zwik_environment.bat" target="_blank">Windows</a>.</li>
156+
<li>Save the script to the root of your project folder.</li>
157+
<li>Run the script, the first time it can take some time to create an initial environment.</li>
158+
<li>The file <code>.zwik/zwik_environment.yaml</code> is created and can be adapted to add the packages you need.</li>
159+
</ol>
160+
161+
<h2>Available Tools</h2>
162+
<p>By default Zwik searches on <a href="https://conda-forge.org/">conda-forge</a> for packages.</p>
163+
164+
<h2>How does it work?</h2>
165+
<p>Zwik is based on the <a href="https://mamba.readthedocs.io/en/latest/" target="_blank">Mamba</a> open source package manager.</p>
166+
167+
<h2>Contribute to Zwik</h2>
168+
169+
<p>If a specific package is missing, make it available on conda-forge and it will also automatically be available for Zwik.</p>
170+
171+
<p>To contribute to the Zwik client itself, check the <a href="https://github.com/zwikdev/zwik-client.git">client repository</a>.</p>
172+
173+
</div>
174+
</div>
175+
176+
<div id="footer">
177+
<div class="inner">
178+
Zwik-web
179+
</div>
180+
</div>
181+
</body>
182+
</html>

0 commit comments

Comments
 (0)