Skip to content

Commit c1ef1ac

Browse files
committed
add server setup instructions
1 parent 2aa3218 commit c1ef1ac

File tree

1 file changed

+38
-6
lines changed

1 file changed

+38
-6
lines changed

setting-up-cityzen.html

Lines changed: 38 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,15 +123,47 @@ <h6 class="sidebar-heading d-flex justify-content-between align-items-center px-
123123

124124
<main role="main" class="col-md-9 ml-sm-auto col-lg-10 px-4">
125125
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
126-
<h1 class="h2">Setting up CityZen</h1>
126+
<h1 class="h2">Setting up CityZen Server</h1>
127127
</div>
128128

129129
<div class="col-md-9 text-justify align-top"> <!-- Main body of text -->
130-
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore
131-
magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
132-
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
133-
pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
134-
est laborum.
130+
<p>
131+
There are two ways to use the CityZen server:
132+
<ol>
133+
<li>
134+
Get an account on our home server. Contact us on our Slack. You can sign up by going to http://LansingCodes.Slack.com .
135+
You will find us in the Code4Lansing forum. You will need to create a Trello account, follow the instructions to link it to the
136+
server and finally send up the citizen.env file. Then all you need to do is create your volunteer projects and tasks in Trello
137+
and upload the client file to your website and link to it.
138+
</li>
139+
<li>
140+
You can install the CityZen server on your own hosting account. We provide an <a href="npm-install.html">npm</a>,
141+
<a href="GitHub-install.html">GitHub</a> and <a href="Docker-install.html">Docker</a> install instructions.
142+
</li>
143+
</ol>
144+
</p>
145+
<p>
146+
Starting the CityZen server:
147+
</p>
148+
<p>
149+
<ol>
150+
<li>
151+
Rename the cityzen.env file to .env and place it in the server root directory.
152+
</li>
153+
<li>
154+
Initialize the .env file and start the server:
155+
<p class="bg-dark text-white w-50"><strong>npm start -- --config config/trello.json</strong></p>
156+
157+
If the server started successfully it will read:
158+
159+
<p class="bg-dark text-white w-50"><strong>Listening on port 3000</strong></p>
160+
</li>
161+
</ol>
162+
163+
164+
165+
166+
</p>
135167

136168
</div>
137169

0 commit comments

Comments
 (0)