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.dev3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55388946a71e3d4555091d93e0113fadde24e3377aaa148c8be32110a0bf9f90 |
|
MD5 | 8d89eda740af19bb3e4046144a5069ca |
|
BLAKE2b-256 | 79d456a5e73171e3d563e34616af1eaf70e61c0a50bfb902ae78cb81a22012ee |
Close
Hashes for c2cgeoportal_commons-2.3.1.dev3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d24447dbfb3234550082ac9f455985832e5699719bb8e9b13b261ace42ff57b0 |
|
MD5 | 26a1b97d8fecb27fa03cf6d64b0a29fa |
|
BLAKE2b-256 | b1948e5e1cfad2c4dfea54e29894feeea5a9b358794a7ba60020a4adbec0a9a7 |