-
-
Notifications
You must be signed in to change notification settings - Fork 130
sndev runs on codespaces #2214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
axelvyrn
wants to merge
20
commits into
stackernews:master
Choose a base branch
from
axelvyrn:sndev-fix
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
sndev runs on codespaces #2214
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
added info tooltip for LNURL-auth button
Update LNURL-UI
fixed linting errors
…ntioned in the package-lock.json file.
removed extra padding
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Closes #2209
Github Codespaces uses docker to run the platform like sndev. So this was a docker-in-docker error. Thus it was required to check explicitly if Docker was available in the codespaces.
Steps to run sndev on Github Codespaces:
npm install
. let it be finished.env
setbecause when I ran
docker ps -a && docker-compose ps && ./sndev status
it returned
because
opensearch
was not able to run as a healthy container./sndev start
. let it build and deploy the container, you should be able to see the containers icon appear in the sidebarwait for about 5 minutes or split terminal and/or check sndev status.
go to PORTS and open port 3000 on the web browser through the link from github codespaces (the browser icon that appears when you hover over port 3000) not from
http://localhost:3000
you will be able to see the live site on the page
Screenshots
Additional Context
Make sure the codespaces machine is the 8GB RAM and 32 GB storage one because running sndev puts great load on the CPU
Checklist
Are your changes backwards compatible? Please answer below:
yup
On a scale of 1-10 how well and how have you QA'd this change and any features it might affect? Please answer below:
10
For frontend changes: Tested on mobile, light and dark mode? Please answer below:
yes
Did you introduce any new environment variables? If so, call them out explicitly here: