It should not be run in production.
Build the frontend react app:
npm install
npm run build
Build the backend:
docker-compose build
docker-compose up
Visit localhost:3000 to see the website.
Build for MacOS:
cd ./databaseHelperGui pyinstaller app_mac.spec
Build for Windows:
cd ./databaseHelperGui pyinstaller app_windows.spec
cd webserver
pytest
Todo Philippe
[x]
Make a todo list as suggested by Gregoire[x]
Add elements to each company card (equipement,totalcost,experience, etc..)[x]
Add a some more sample elements to the database to work on[x]
Create a nice presentation of the company overview including stats, totalGold, effective and total cost, a way to add personal notes (+ linking to database)[x]
Add wiki submenus for all the equipements, special powers, etc..[x]
You can now have an account and login on your personal companies![x]
Add a menu item to go in a fight![x]
add a register form and unsecure user account system (just for testing)[ ]
Add a simple way to buy new troops if gold allows it in Buy Troops menu[ ]
a way to add personal notes (+ post to database) and calculate total and effective cost automatically[x]
change forms to handle enter key press (more natural behaviour)[ ]
use more carefull types in code, transform var's in let's[x]
add a develepoment port and link it to the package.json scripts to run locally[x]
change color of bonuses[ ]
Add a "typing..." feature to the chat[ ]
Find a way to save messages from chats on server[ ]
add private messaging over peer2peer[ ]
add a bar allowing filtering, thumbnailing on desktop research, custom options to the cards displaying designs
Todo Pierre
[ ]
get rid of current database and upgrade it to MariaDB[ ]
Remove static IP's and use dynamic ones instead[ ]
Add continuous integration.[ ]
Use docker secrets for database credentials
Todo All
[ ]
Token expiration management (currently no expiration)