webcompat.com icon indicating copy to clipboard operation
webcompat.com copied to clipboard

Unable to deploy correctly the project

Open magsout opened this issue 5 years ago • 3 comments

str

git clone [email protected]:webcompat/webcompat.com.git
cd webcompat.com
touch .env

goto Developer settings:

  • goto Personnal access toek
  • create New personal access token

did that:

Screen Shot 2020-03-27 at 22 22 13
  • goto OAuth Apps
  • Register a new OAuth application

did that: Screen Shot 2020-03-27 at 22 25 20

# Secrets. DO NOT SHARE.
GITHUB_CLIENT_ID='DONE'
GITHUB_CLIENT_SECRET='DONE'
OAUTH_TOKEN='DONE'
SECRET_KEY = 'a_secret_key'
HOOK_SECRET_KEY = 'SECRETS'

then:

npm run setup
npm run start

result: https://cl.ly/01476cf87dd3

magsout avatar Mar 27 '20 21:03 magsout

After a chat with @miketaylr I guess, this issue is fixed but not really fixed, so what I did.

@miketaylr made public the private repo. Fixed all 404 errors, after that I could report a bug, and browse throw the search form. But i wasn't able to log in.

I got this errror:

Screen Shot 2020-04-02 at 21 19 50

Then, I did:

  • deleted session.db
  • refresh my token on Github.
  • removed my cookies on Firefox.
  • npm run start

I tried to log, was redirect to gihtub to allow the webcompat app. I Got a new error on webcompat about Gihtub (no screenshot..). tried again to log in, that's it, success. Everything works well.

magsout avatar Apr 02 '20 21:04 magsout

two issues and one is probably related to the dynamic loading of milestones. I think I want to throw that code so we do not depend on it to start the app. @miketaylr

I want to switch to hardcoded version of the milestone. AND a tool which just check if the milestones are valid in tools and or deployment scripts.

karlcow avatar May 14 '20 05:05 karlcow

I want to switch to hardcoded version of the milestone. AND a tool which just check if the milestones are valid in tools and or deployment scripts.

Sounds like a nice improvement!

miketaylr avatar May 14 '20 17:05 miketaylr