Skip to content

Commit

Permalink
Update utilities documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
erssebaggala committed Oct 15, 2019
1 parent f439913 commit 235cb3b
Show file tree
Hide file tree
Showing 12 changed files with 139 additions and 15 deletions.
7 changes: 4 additions & 3 deletions docs/utilities.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ sidebar_label: Utilities
---


## Combine CSV files into a excel workbook
The **CSV to Excel Combiner** utility combines a list of csv files into one excel workbook with each file on a separate worksheet.
## Combine CSV files into one or different excel workbooks
The **CSV to Excel** utility combines a list of csv files into one or different excel workbooks. You also the have the options of creating
an xlsb or xlsx file.

![GIS Module](/bts-ce-lite/img/csv_to_excel_combiner.png)
![GIS Module](/bts-ce-lite/img/utilities_0.3.1.png)
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
"react-leaflet": "^2.0.0",
"react-leaflet-control": "^2.1.1",
"react-leaflet-fullscreen-control": "^0.0.4",
"react-leaflet-search": "^0.6.0",
"react-leaflet-semicircle": "^2.0.5",
"react-leaflet-sidetabs": "^1.0.1",
"react-mosaic-component": "^2.1.0",
Expand Down
5 changes: 4 additions & 1 deletion src/modules/gis/GISMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ import { renderToString } from 'react-dom/server'

const { ipcRenderer} = window.require("electron");


//Fix icons
delete L.Icon.Default.prototype._getIconUrl;
L.Icon.Default.mergeOptions({
Expand Down Expand Up @@ -557,7 +558,9 @@ class GISMap extends React.Component{
callback: this.centerMap.bind(this),
index: 0
}]}
fullscreenControl>
fullscreenControl
>

<TileLayer
attribution="&amp;copy <a href=&quot;http://osm.org/copyright&quot;>OpenStreetMap</a> contributors"
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
Expand Down
12 changes: 12 additions & 0 deletions website/blog/2019-10-15-new-version-0.3.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: Version 0.3.1 Release
author: Emmanuel Robert Ssebaggala
authorURL: https://www.ssegga.com
---

0.3.1 adds the changes below:
* Adds Huawei 5G MO CM tables
* Adds options to export XLSX or XLSB when converting csv files to excel
* Adds option to re-create the entire database or just apply the new changes
* Remove of BTS5900 during GExport pre-processing step
* Fixes showing of carrier colors after upload on map
8 changes: 8 additions & 0 deletions website/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@
"title": "Utilities",
"sidebar_label": "Utilities"
},
"version-0.3.1/version-0.3.1-installation": {
"title": "Installation",
"sidebar_label": "Installation"
},
"version-0.3.1/version-0.3.1-utilities": {
"title": "Utilities",
"sidebar_label": "Utilities"
},
"version-2.3.0/version-2.3.0-contributing": {
"title": "Contributing",
"sidebar_label": "Contributing"
Expand Down
20 changes: 10 additions & 10 deletions website/pages/en/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class HomeSplash extends React.Component {
<div className="inner">
<ProjectTitle siteConfig={siteConfig} />
<PromoSection>
<Button href="https://github.com/bodastage/bts-ce-lite/releases/tag/v0.3.0">Download v0.3.0</Button>
<Button href="https://github.com/bodastage/bts-ce-lite/releases/tag/v0.3.1">Download v0.3.1</Button>
<Button href={docUrl('introduction.html#quick-start')}>Quick start</Button>
</PromoSection>
</div>
Expand All @@ -91,14 +91,14 @@ class Index extends React.Component {
</Container>
);

const FeatureCallout = () => (
<div
className="productShowcaseSection paddingBottom"
style={{textAlign: 'center'}}>
<h2><a href="https://github.com/bodastage/bts-ce-lite/releases">v0.3.0-alpha.5 is available for testing</a></h2>
<MarkdownBlock>This is a pre-release version.</MarkdownBlock>
</div>
);
//const FeatureCallout = () => (
// <div
// className="productShowcaseSection paddingBottom"
// style={{textAlign: 'center'}}>
// <h2><a href="/bodastage/bts-ce-lite/releases">v0.3.1-alpha.5 is available for testing</a></h2>
// <MarkdownBlock>This is a pre-release version.</MarkdownBlock>
// </div>
//);

const ReportsBlock = () => (
<Block id="try">
Expand Down Expand Up @@ -228,7 +228,7 @@ class Index extends React.Component {
<HomeSplash siteConfig={siteConfig} language={language} />
<div className="mainContainer">
<Features />
<FeatureCallout />

<ParseImportBlock />
<ReportsBlock />
<GISBlock />
Expand Down
2 changes: 1 addition & 1 deletion website/siteConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const siteConfig = {
zIndex: 100,
},

defaultVersionShown: '0.3.0',
defaultVersionShown: '0.3.1',
editUrl: 'https://github.com/bodastage/bts-ce-lite/edit/master/docs/',
};

Expand Down
Binary file added website/static/img/utilities_0.3.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
80 changes: 80 additions & 0 deletions website/versioned_docs/version-0.3.1/installation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
---
id: version-0.3.1-installation
title: Installation
sidebar_label: Installation
original_id: installation
---
- [System Requirements](#system-requirements)
- [Installing Boda-Lite](#installing-laravel)

## System Requirements
The minimum requirements to run Boda-Lite are:
* 64bit operating system
* Atleast 1GB Memory
* Disk space depends on the data size
* Windows (8 and later), Linux(3.0.0 kernel and later), or Mac OSX operating system
* Java 8
* PostgreSQL 10

## Installing Boda-Lite
1. Download the installer for the latest version for your OS from the Github releases [page](https://github.com/bodastage/bts-ce-lite/releases).
2. Run the installer or start the application executable for the portable versions
3. Login with the default username and passsord. The default username and password are **btsuser@bodastage.org** and **password** respectively.
4. Install PostgreSQL 10 from the [Enterprise DB Download page](https://www.enterprisedb.com/downloads/postgres-postgresql-downloads)
5. Setup the database by going to Settings > Databases and clicking *Setup Database*

### Installer names
For installation on windows, select from:
* Boda-Lite-VERSION-win.zip
* Boda-Lite-VERSION-win.exe
* Boda-Lite-Setup-VERSION.exe

For installation on Linux, select from:
* Boda-Lite-VERSION-x86_64.AppImage
* Boda-Lite-VERSION.x86_64.rpm
* Boda-Lite_VERSION_amd64.deb
* Boda-Lite_VERSION_amd64.snap

For installation on Mac OSX, select from:
* Boda-Lite-VERSION.dmg

### Installing on linux
To install the **rpm** package run command below.
```
$ rpm -i Boda-Lite-VERSION.x86_64.rpm
```

To install the **.dep** package run command below.
```
$ dpkg -i Boda-Lite_VERSION_amd64.deb
```

To install the **snap** package, run command below.
```
# Install snap if not already installed
$ sudo apt update
$ sudo apt install snapd
# Install Boda-Lite span package
$ sudo snap install Boda-Lite_VERSION_amd64.snap
```

## Using PostgreSQL without installation
Below are the steps to follow:
### Running on Windows
1. Create a folder for you postgres download (POSTGRES_FOLDER).
2. Launch **cmd** and go to POSTGRES_FOLDER <br />
`cd POSTGRES_FOLDER`
3. Download PostgreSQL using the download script bundled with Boda-Lite <br />
`
C:\Users\<USERNAME>\AppData\Local\Programs\Boda-Lite\resources\db\scripts\download_postgres.bat
`
4. Initialize PostgreSQL <br />
`
PostreSQL\pgsql\bin\initdb.exe -D ..\data --username=postgres -auth=trust
`
5. Run PostgreSQL database <br />
`PostreSQL\pgsql\bin\pg_ctl.exe start -D ../data`


From the above setup, PostgreSQL is running on **localhost** on port **5432** and default user **postgres** with no password.
13 changes: 13 additions & 0 deletions website/versioned_docs/version-0.3.1/utilities.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
id: version-0.3.1-utilities
title: Utilities
sidebar_label: Utilities
original_id: utilities
---


## Combine CSV files into one or different excel workbooks
The **CSV to Excel** utility combines a list of csv files into one or different excel workbooks. You also the have the options of creating
an xlsb or xlsx file.

![GIS Module](/bts-ce-lite/img/utilities_0.3.1.png)
1 change: 1 addition & 0 deletions website/versions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[
"0.3.1",
"0.3.0",
"2.3.0"
]
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14990,6 +14990,11 @@ react-leaflet-fullscreen-control@^0.0.4:
react "^16.3.2"
react-leaflet "^1.9.1"

react-leaflet-search@^0.6.0:
version "0.6.0"
resolved "https://registry.yarnpkg.com/react-leaflet-search/-/react-leaflet-search-0.6.0.tgz#fac831b000466615e1a748b7e3f6929389ab36ef"
integrity sha512-5kzE4Szqs8tf96qSNZqUcMaWVXIjHXsxMLrzeaf8M99PdCFs9e7bLQjGKBCyvsDdJvcv3iNni20DjrMkwHjLEA==

react-leaflet-semicircle@^2.0.5:
version "2.0.5"
resolved "https://registry.yarnpkg.com/react-leaflet-semicircle/-/react-leaflet-semicircle-2.0.5.tgz#af86bb0e7107a30ff7df6fd053b4dbc28a1f8ec3"
Expand Down

0 comments on commit 235cb3b

Please sign in to comment.