c2cgeoportal commons
Project description
# c2cgeoportal_common
## Checkout
git clone git@github.com:camptocamp/c2cgeoportal.git
cd common
## Create virtual environment
make install
## Set up the tests database
```
sudo -u postgres psql -c "CREATE USER \"www-data\" WITH PASSWORD 'www-data';"
DATABASE=geomapfish_tests
sudo -u postgres psql -c "CREATE DATABASE $DATABASE WITH OWNER \"www-data\";"
sudo -u postgres psql -d $DATABASE -c "CREATE EXTENSION postgis;"
```
use common/testing/initialized.py to create the database (development.ini at admin side)
```
## Run the tests
```
make test
```
## Checkout
git clone git@github.com:camptocamp/c2cgeoportal.git
cd common
## Create virtual environment
make install
## Set up the tests database
```
sudo -u postgres psql -c "CREATE USER \"www-data\" WITH PASSWORD 'www-data';"
DATABASE=geomapfish_tests
sudo -u postgres psql -c "CREATE DATABASE $DATABASE WITH OWNER \"www-data\";"
sudo -u postgres psql -d $DATABASE -c "CREATE EXTENSION postgis;"
```
use common/testing/initialized.py to create the database (development.ini at admin side)
```
## Run the tests
```
make test
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for c2cgeoportal_commons-2.3.5.26.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ccd1cdd16803d9feff59e8a7d8e6fddd864169fd8fece023100ea975814439e |
|
MD5 | 6f8041ce31333a8b1608bdaab0c4fbe3 |
|
BLAKE2b-256 | a28d85829bc7362b3d99e8ff699beebcfe4cbb694186f613bef3d1fcc4d7e712 |
Close
Hashes for c2cgeoportal_commons-2.3.5.26-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f394abcaebf5322fc605dfd43d6c4da3265ceea584765c93457bb405c96acf11 |
|
MD5 | 4ceac7aca85bd12d2b77ce20883cabde |
|
BLAKE2b-256 | d9f99f265e7c1afcedaad1133983aa41f080a21254fa350daaa522f79c1be5c9 |