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.1.dev2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5390a8aab5ebfc263bbc3214baa4874b99895857f916a9e5c9037bcc6fba945 |
|
MD5 | ff6c8976334a85a3a0fe97b0c496e41a |
|
BLAKE2b-256 | 9219571f530fd8bc2d969365ebbedbb9385197adf370e393917e5283ffd68a81 |
Close
Hashes for c2cgeoportal_commons-2.3.1.dev2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aff4bad7e012f981b554ec48fba9a9ab1bfed10323b57786f6f47b33340401ff |
|
MD5 | 4d056c43a2797db261719aa6596d2954 |
|
BLAKE2b-256 | 62b32b0f93b88768219d41fb702c70c5e1a76834bc084c8dece971004199a369 |