Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nk20
Manage
Activity
Members
Labels
Plan
Issues
31
Issue boards
Milestones
Wiki
Code
Merge requests
6
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BDE
nk20
Commits
7764abc0
Commit
7764abc0
authored
5 years ago
by
Pierre-antoine Comby
Browse files
Options
Downloads
Patches
Plain Diff
fix md and clarify local installation
parent
e2d32b11
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+15
-6
15 additions, 6 deletions
README.md
with
15 additions
and
6 deletions
README.md
+
15
−
6
View file @
7764abc0
...
...
@@ -10,8 +10,8 @@ On supposera pour la suite que vous utiliser debian/ubuntu sur un serveur tout n
1.
Paquets nécessaires
$ sudo apt install nginx python3 python3-pip python3-dev uwsgi
$ sudo apt install uwsgi-plugin-python3 python3-virtualenv git
$ sudo apt install nginx python3 python3-pip python3-dev uwsgi
$ sudo apt install uwsgi-plugin-python3 python3-virtualenv git
2.
Clonage du dépot
...
...
@@ -50,16 +50,17 @@ On supposera pour la suite que vous utiliser debian/ubuntu sur un serveur tout n
Pour le moment c'est du sqllite, pas de config particulière.
##
Développ
er en local
##
Install
er en local
Il est tout a fait possible de travailler en local, vive
`./manage.py runserver`
!
1.
Cloner le dépot là ou vous voulez:
$ git@gitlab.crans.org:bde/nk20.git
2.
Environnement Virtuel
$ git clone git@gitlab.crans.org:bde/nk20.git
2.
Initialiser l'environnement Virtuel
$ cd nk20
$ virtualenv env
$ source /env/bin/activate
(env)$ pip install -r requirements.txt
...
...
@@ -73,6 +74,14 @@ Il est tout a fait possible de travailler en local, vive `./manage.py runserver`
(env)$ ./manage.py runserver
## Minimal Setup
1.
Créer un superuser :
(env)$ ./manage.py createsuperuser
Avec ce dernier vous pouvez vous connecter à l'interface admin de Django, avoir
accès à la doc auto-générée du projet, jouer avec des models, etc ...
## Cahier des Charges
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment