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.3.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 308055e74329d34d4108ae47ac0a857aa6c10f41c22095a40d07a29a1ebb367e |
|
MD5 | 23e4579f9ab92fe4c60be232e8eb66a6 |
|
BLAKE2b-256 | 38a239608001d085bb3e02c5634864a6772428191cc973fcc4a50873436c3a1c |
Close
Hashes for c2cgeoportal_commons-2.3.3.dev1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf956f9a2c4aae81f006e4348d01a9825f69893f0de73ef620604d5e181e23eb |
|
MD5 | f874aae1415e2323d29eb99b45c47fb3 |
|
BLAKE2b-256 | d108e5eb884dbd710a71ce448526f3ada8596ddcf0cb7b9a025fd0af825618b0 |