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.4.77.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73d18510579c0536ba2471f68bf261618f6efa8d6dc45fb40f276517bd2b2eb1 |
|
MD5 | 8fe93bd064a3b83c0612cffce2a96dd0 |
|
BLAKE2b-256 | d4497883d7bce4b742edc649ec8b60f582f40cad5845c4c5a87e903b8a7bdc2c |
Close
Hashes for c2cgeoportal_commons-2.3.4.77-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8e08921939c9b152c05f015ecb5613d702ad383d3c8b09e1b87a7ed36e4864f |
|
MD5 | 9e9a6f40d3d19ca1891e08b25de32c30 |
|
BLAKE2b-256 | eb2c4a6f3444efdf475a96fa063a9344b60f22728aa3498c35d8bcd3d0f7f51e |