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.6.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bc3730ff0ae3fe55de46aa64ee0ce65a5ae2d940999c7d34ea011365539e128 |
|
MD5 | a1386a77c49c2e5af79e2c86f512b282 |
|
BLAKE2b-256 | d0dd549ad90265a48c1b307355159a409085ab427069be3ca296544dc6cd5aab |
Close
Hashes for c2cgeoportal_commons-2.3.6.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37f551591cf8bc9f7e65f3b9c93116030a11ee473be3c22ac82c334cce813574 |
|
MD5 | ebd9c8f22d276e91846d5c91f13e3986 |
|
BLAKE2b-256 | c3272bde77fb570af2ca8a5429ba153e284b86af767939757af28971b78bb9e8 |