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.37.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fdafb60e3ed5788ac05675985830545fb7b8a805ba7d908ada0ea8ce6050c76 |
|
MD5 | aea322102ca04228adbd87df691c2036 |
|
BLAKE2b-256 | 7ebcbf6fd97fec3929f6252b8e3e7de35cdf4d99935c5c7740ca554d59d2bae0 |
Close
Hashes for c2cgeoportal_commons-2.3.5.37-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c34b401df1570182e7b7640879ac90ad6e0256aac3ffd1e0c01daa485dc0199f |
|
MD5 | 70e6980a5e09f34cab538bf7912ff6c6 |
|
BLAKE2b-256 | 44fd2cfdbf8d5789e2ba47c8be0164e0f3223151be9a22c727f840204259acd9 |