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
c2cgeoportal_commons-2.3.3.tar.gz
(15.8 kB
view hashes)
Built Distribution
Close
Hashes for c2cgeoportal_commons-2.3.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a2323b21bb18ddb0555a688e0325abda9d70cee2136c5c8b7bf9c17d2ff540f |
|
MD5 | 826faf64d7aeadb7354938af3344fcc3 |
|
BLAKE2b-256 | 5848b9a6e7f614b9b2f3dd175491a26c75c183f6cc3adb8c3f483c40229bddf5 |
Close
Hashes for c2cgeoportal_commons-2.3.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39d4379d212f9297606d9cdc272fdc39825f0bb1b0ee3dafd6e7db6a2b89021d |
|
MD5 | 5a2e7c98306ff4ba89338f1691897150 |
|
BLAKE2b-256 | 1f7252542a2e8c18c6294005346fdf0438262b4fb9348e20a73e0782018dc7ef |