Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LabelsTower
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
MaitresNageurs
README
LabelsTower
Commits
977ace9d
Commit
977ace9d
authored
5 years ago
by
erichard
Browse files
Options
Downloads
Patches
Plain Diff
add instruction to create DB and start project with testing DB.
parent
6a1f2818
No related branches found
No related tags found
1 merge request
!61
Packager labelstower
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+23
-0
23 additions, 0 deletions
README.md
with
23 additions
and
0 deletions
README.md
0 → 100644
+
23
−
0
View file @
977ace9d
This project delivers some python code for management of elements with system label within a Flask application.
For testing purpose, a Flask demonstration web site is provided,
to create testing database. Execute the following shell commands from project's root.
```
mkdir instance
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python3 -c 'from models import db;db.create_all()'
mv test.db voiture.db ou codingpool.db
sqlite3 voiture.db '.read data_voiture.sql'
mv voiture.db instance/
```
to be excuted with the help of Docker. You can move to the
`docker`
subdirectory and read the local
`READ.md`
for a detailed description of the provided utility scripts. For the impatient users, the recipe to start the demo wen site is :
```
cd docker
./build_dev.sh
./run_dev.sh
```
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