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.dev2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 052534d8fa704b4faf220f155b17b134202f518bc6146bd6deaa120428e7b23e |
|
MD5 | 8b16392b409fd0e61a94097326bd5f5b |
|
BLAKE2b-256 | 87669447670ebb15c2c4c3053965bc6937c82c047451a2307870631a476a152f |
Close
Hashes for c2cgeoportal_commons-2.3.4.dev2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ece1656952e410b72678407fb42fba6e49c7b796697001d1c9ea428b1a180ce |
|
MD5 | 99c86d35dc153e8afdf0a2bf27819701 |
|
BLAKE2b-256 | 3925f2b32a6608ac471695994a804b5797742c55b2338967d64fc87d3d2d82bc |