Custom DjangoLDP based package for Energie Partagee
Project description
djangoldp_energiepartagee
How to install the project locally
1- create virtual environement
py -m venv venv
2- activate venv
venv\Scripts\activate.bat
3- update pip & wheel
py -m pip install -U pip wheel
4- install sib-manager
py -m pip install -U sib-manager
5- launch the startproject command
sib startproject energiepartagee_server
6- install server
=> go into energiepartagee_server folder
sib install server
7- create superuser
py manage.py createsuperuser
8- add virtual link with the djangoldp_energiepartagee package :
mklink /D [LINK] [TARGET]
mklink /D [...]\energiepartage_server\djangoldp_energiepartagee [...]\djangoldp_energiepartagee\djangoldp_energiepartagee
=><!> [LINK] : Link to the "folder" where the target will be found
9- add the package in the package.yml file
10- run migration and migrate
py manage.py makemigrations djangoldp_energiepartagee
(for the first time, then py manage.py makemigrations
will be enough in case ogf modifications of the package)
py manage.py migrate
11- runserver
py manage.py runserver
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
Hashes for djangoldp_energiepartagee-0.0.21.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54b8b7a1227130206727f6a1b129b2d8362bec3fd67bb27c89fe4f077838f3df |
|
MD5 | 1f78043e9c28194561f013867c6a0d81 |
|
BLAKE2b-256 | 753761e47afaeecac64ba81a20fcc7d3b0c14d0372caaa334be0b04b20baac44 |
Hashes for djangoldp_energiepartagee-0.0.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54a0b8ce78ce16a4b1a09cbc01fe78822e1c3a0b7753eb3e4627e5fe9de49be5 |
|
MD5 | 621eea97644d40caa27162d127c4b0f1 |
|
BLAKE2b-256 | d7d628c32e7f1296cab74a211cbf15e5bfe9ff0e3f85f71f0f41e1a6acec9ac7 |