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.31.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22f4a2d8c7f8f9ae8a91a8c98934d2c9eb1c1f531c98d70d241619cf55407968 |
|
MD5 | 697ce99d942baba29f1fdb6cd557d374 |
|
BLAKE2b-256 | 2f99b876b7ba888819fb57cb28a6bd72ef596a3c0f1d59fd2720cbbd5b07e4fc |
Hashes for djangoldp_energiepartagee-0.0.31-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de8b9da82e3da59a30655cadf437de23be3da6456c5344268f1b22a53a0e024a |
|
MD5 | 83827c5ac6feace6cd2c07ba23aee3b2 |
|
BLAKE2b-256 | 3ae66d1923c4961630eda645e7ee251e302df0ccbb23baffb5f3a7f47a5dc484 |