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.5.18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce21c0f54b416a13fb6414cd6f78d08be07c003b6c79a796f220858e3b0b9196 |
|
MD5 | 3dd2c4d4696b07e4fa891a0770e264a2 |
|
BLAKE2b-256 | 7cdb64e675ce2b1934fa54f16987523391271b119f39e7b756f33667ae4f6781 |
Close
Hashes for c2cgeoportal_commons-2.3.5.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c50e9b8d06d466c0081e4b86631cf6beba316b9037103e18beaeaa2f1a49470 |
|
MD5 | f71264bb65e79dad7722e97489a7ecc7 |
|
BLAKE2b-256 | ce071af232ceada476fadbf318ca90c04c054868e3eb8c062bc9b68b3ae5c8bb |