Skip to content

Commit

Permalink
add readme and ignore countries geojson
Browse files Browse the repository at this point in the history
  • Loading branch information
Grace-Amondi committed May 5, 2023
1 parent a4555f2 commit cf561a4
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 65 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ __pycache__/
*.pyc
db.sqlite3
media/images/
site_settings/data

# Wagtail-specific files
staticfiles/
Expand Down
64 changes: 64 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,68 @@
# nmhs-cms

Template Content Management System for NMHSs in Africa

## Quickstart with test data

The `quickstart` arguement in `nmhs-ctl.py` deploys nmhs-cms with test data with a single command and requires python3 setup. When using nmhs-cms from source, the default port for web components is 8081.

1. Download from source:

`git clone https://github.com/wmo-raf/nmhs-cms.git`

`cd nmhs-cms`

2. Run quick instance.

`python3 nmhs-ctl.py quickstart`


The `quickstart` executes the following steps:

```py
[1/6] BUILDING CONTAINERS
[2/6] STARTING UP CONTAINERS
[3/6] MIGRATING DATABASE TABLES
[4/6] LOADING DUMP DATA
[5/6] COLLECTING STATIC FILES
[6/6] FETCHING 7-DAY FORECAST
```

The instance can be found at `http://localhost:8081`


---

## Installation and configuration

In progress ...

<!-- git clone repo
`wget https://github.com/wmo-raf/nmhs-cms/archive/refs/tags/v0.0.1.zip`
`unzip
python3 nmhs-ctl.py setup_cms
python3 nmhs-ctl.py setup_db
python3 nmhs-ctl.py build
python3 nmhs-ctl.py up
python3 nmhs-ctl.py loaddata
python3 nmhs-ctl.py forecast
python3 manage.py createsuperuser -->


---

## User Guide

User guide - https://github.com/wmo-raf/nmhs-cms/wiki


65 changes: 0 additions & 65 deletions site_settings/data/africa_countries.geojson

This file was deleted.

0 comments on commit cf561a4

Please sign in to comment.