Skip to content

jojo-31/peakdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PeakDB

Provides a database of the highest earth peaks !

Install

  • Python 3.7+ is mandatory
  • Linux only (here with CentOS)

Prerequesite: install and run MongoDB

Procedure

Back:

cd server/
yum install virtualenvwrapper
mkvirtualenv -p python3 peakdb
workon peakdb
pip install -r requirements.txt
python setup.py install
cd ..

Front:

cd front/
npm install
cd ..

Development usage

Run the servers

python server/peakdb/app.py

Served at localhost:5000/peaks

Optionally , a front Vue server is available :

cd front/
npm run serve

Front pages are available at localhost:8080 and localhost:8080/peaks

Run the tests

pytest server/tests

Docker setup

sudo docker-compose up

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published