Skip to content

edwardjin01/react-admin-page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coin98

The opensource using react-admin. Login with admin/123456 at link: http://localhost:3000/

How to start the development

  • Make sure docker-compose.yml match with you enviroment development.
  • Use docker-compose up -d to setup enviroment. To update application remmember to yarn build before docker-compose up -d --build.
  • Import database by running the command: psql -h localhost -p 5432 -U postgres mydb < mydb.sql
  • Create uploads folder on workspace.

Modify frontend

  • After run docker-compose up -d, you can go to admin folder and run yarn start to start the development.

Modify backend

  • Run docker-compose up -d --build to modify backend.
  • Debug using vs-code.

How to deploy to digitalocean

  • Config docker-machine on digitalocean follow this link: https://docs.docker.com/machine/examples/ocean/
  • Deploy application by command: docker-compose up -d
  • Server api: http://:8080/
  • Front-end: http://:3000/
  • Postgresql database: postgresql://postgres:postgres@:5432/mydb

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published