-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add readme and ignore countries geojson
- Loading branch information
1 parent
a4555f2
commit cf561a4
Showing
3 changed files
with
65 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ __pycache__/ | |
*.pyc | ||
db.sqlite3 | ||
media/images/ | ||
site_settings/data | ||
|
||
# Wagtail-specific files | ||
staticfiles/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
This file was deleted.
Oops, something went wrong.