This repository has been archived on 2022-07-17. You can view files and clone it, but cannot push or open issues or pull requests.
arsenm-dev-site/content/docs/simpledash/building.md

40 lines
931 B
Markdown
Raw Permalink Normal View History

2021-04-02 23:00:48 +00:00
---
2021-04-02 23:11:42 +00:00
title: "Building"
2021-04-02 23:00:48 +00:00
draft: false
2021-04-02 23:11:42 +00:00
description: "Building simpledash"
2021-04-02 23:00:48 +00:00
---
## Building from source
### Prerequisites
Simpledash utilizes an SQLite database for session storage. That means that sqlite3 must be installed along with its development files to build simpledash. It also means cross-compilation is not as simple as setting some environment variables.
On Debian, the required packages are: `sqlite3` and `sqlite3-dev`.
On Arch, the required package is `sqlite`.
---
### Building
To build simpledash, first, clone the git repository of simpledash. Then, use a terminal to enter the cloned directory and run:
```shell
go build
```
---
### Building with Advmake
Simpledash can be built with another of my projects, `advmake`. Using this also builds the CSS framework used in this project, Bulma.
To build simpledash using advmake, simply run:
```shell
advmake
```
To run via advmake, run:
```shell
advmake run
```