Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Topcoder Drone Series Front End

NotificationsYou must be signed in to change notification settings

topcoderinc/dsp-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local Deployment

CopyenvSample as.env.Install node dependencies usingnpm installRun the development server usingnpm run start

Local Configuration Variables

You can edit them in.env file.

Heroku Deployment

Make sure your variables are defined in .env first.

Install the heroku config plugin:

heroku plugins:install heroku-config```

git initgit add .git commit -m "react-create-app on Heroku"

make sure commit all codes and usually you do not need to run above command if you are sure your codes in git repo is latest.

heroku createheroku buildpacks:add heroku/nodejsheroku buildpacks:addhttps://github.com/mars/create-react-app-buildpack.git

set variables defined in .env

heroku config:push

git push heroku HEAD:masterheroku open

You can use new configuration with below commands from [set-vars-on-heroku](https://github.com/mars/create-react-app-buildpack#set-vars-on-heroku).

heroku config:set REACT_APP_API_BASE_PATH=new base urlgit commit --allow-empty -m "Set REACT_APP_API_BASE_PATH config var"git push heroku HEAD:master```

About

Topcoder Drone Series Front End

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp