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.4.post20190205.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1614f0a588a1f63b82ce9f3781fe5a7609a2f3f65113341950d3ece2e2ef102 |
|
MD5 | 8eea7e4b070acc3f39f0850c800fe979 |
|
BLAKE2b-256 | b2ea7022dde196062bbd536a7744c12488be92dfe1e723141fc6fa0457420128 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190205-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 069c4e2d1754ebb36e6409a0e41817161868b07042d473840853e151e4e9ecc2 |
|
MD5 | f19c5494c2a21f7b35d1bed832c012c8 |
|
BLAKE2b-256 | 95880a50d0b526aa42a9518e374948c4f75a973e19766af6c6f86de88f188031 |