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.47.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c49b377cdcce4208aa754264a57817ce4df8cce6d9696fac0ec5383d0692525 |
|
MD5 | e271ce0b9b83f333c687a3e265953f0f |
|
BLAKE2b-256 | d4c00a945384316975538b1ce7e71bac41a7edd3596edc100cd943e931c92438 |
Close
Hashes for c2cgeoportal_commons-2.3.5.47-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b310e76545329d6ea5c5bc9ef39c19af741a9ad96102bec8750cc753e3479372 |
|
MD5 | 17c111a622c7be6acc322771e68b97cb |
|
BLAKE2b-256 | b22357b1c551c1ddc75aa2293ba11047275668dc1aa1b379e99157be1169a15a |