forked from ghk/kawaldesa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.html
49 lines (37 loc) · 2.16 KB
/
README.html
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
41
42
43
44
45
46
47
48
49
<h1>Kawal Desa</h1>
<p>Source code untuk http://kawaldesa.org, aplikasi transparansi penyaluran dan realisasi dana desa. </p>
<p>Kontribusi diterima dengan terbuka. Saran/bug/diskusi bisa di https://github.com/ghk/kawaldesa/issues </p>
<p>Hak Cipta Kontributor & Relawan kawaldesa.org, source code berlisensi AGPL</p>
<h2>Code Overview</h2>
<p>Currently built with C# WebAPI, Typescript and angularjs:</p>
<ul>
<li><code>Content</code>: mostly stylesheets</li>
<li><code>Controllers</code>: WebAPI and MVC Controllers</li>
<li><code>Migrations</code>: DB seed and migrations code</li>
<li><code>Models</code>: EF Code First Models</li>
<li><code>Scripts/KawalDesa</code>: Here lies the angular code</li>
<li><code>SQLs</code>: SQL Views and Seeds</li>
</ul>
<h2>Requirements:</h2>
<ul>
<li>Visual Studio 2013 (Download the community edition, it's free for this kind of project)</li>
<li>PostgreSQL > 9.3 (Requires materialized views)</li>
<li>WebEssentials for Visual Studio (not mandatory, but it leads to nicer typescript development)</li>
<li>Microvac's ASP Scaffold's at http://www.github.com/microvac/asp-scaffold</li>
</ul>
<h2>Installation:</h2>
<ol>
<li>Create a symlink from asp-scaffold's Scaffold folder to Scaffold directory; right under this root directory (for example in windows <code>mklink /j Scaffold ..\asp-scaffold\Scaffold</code>)</li>
<li>Create a new postgresql database, copy the connectionStrings.config.example to connectionStrings.config, change the database settings on it.</li>
<li>Copy appSettings.config.example to appSettings.config.</li>
<li>Open the project in Visual Studio; Build and let it download the nuget dependencies.</li>
<li>Open nuget package manager, run <code>update-database</code></li>
<li>You can run it now; but to have all regions, you need to load SQLs\Seeds\combined.sql, e.g. <code>psql -U postgres kawaldesa < SQLs\Seeds\combined.sql</code></li>
<li>Run App projects! You can login with username: 'admin' or 'volunteer' and password: '123456'</li>
</ol>
<h2>Current Contributors</h2>
<ul>
<li>Gozali Kumara ([email protected])</li>
<li>Vidyapati ([email protected])</li>
<li>Muhammad Reza ([email protected])</li>
</ul>