Skip to content

csralvall/Baldomeros-Secret-Voldemort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Baldomeros-Secret-Voldemort

Development

First of all

git clone https://github.com/csralvall/Baldomeros-Secret-Voldemort.git

To run the Back-End server

For the first time

cd Baldomeros-Secret-Voldemort/server/
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

From now on

cd server/
source venv/bin/activate
cd Baldomeros-Secret-Voldemort/
uvicorn server.main:app --host 0.0.0.0 --reload

For testing

cd server/
source venv/bin/activate 
cd Baldomeros-Secret-Voldemort/
pytest 

To run the Front-End server

For the first time

sudo apt update
sudo apt install nodejs
sudo apt install npm
sudo npm install -g npm@latest
cd Baldomeros-Secret-Voldemort/app/
sudo npm install

From now on

sudo npm start

Then, open http://localhost:3000/ on your browser

For testing

cd Baldomeros-Secret-Voldemort/app/
sudo npm run test

About

Ingeniería del Software 2020 - Grupo Baldomeros

Resources

Stars

Watchers

Forks

Packages

No packages published