-
-
Notifications
You must be signed in to change notification settings - Fork 312
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
Website update prep #5586
Merged
Merged
Website update prep #5586
Changes from 11 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
a6654c6
WIP initial scope for website update
lukewilliamboswell da48918
add wip_new_website
lukewilliamboswell 7151778
fix error message in build script
lukewilliamboswell 78c8854
change binary name to reduce name conflicts
lukewilliamboswell caf95cc
Remove crash which was caussing issues
lukewilliamboswell cfe528c
add the Oct 2022 website update as a blog article
lukewilliamboswell ebac468
Udpate structure of WIP website
lukewilliamboswell 97c4ca8
update page title and descriptions
lukewilliamboswell d22d5a1
more content for WIP website
lukewilliamboswell fd18840
update css
lukewilliamboswell ff4b4cb
deploy wip website, minor changes
Anton-4 9c40811
Merge branch 'main' into website-update
Anton-4 02f7039
fix java link
Anton-4 832272d
forgot dollar sign
Anton-4 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
roc-website | ||
dist/ | ||
website-builder |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#!/usr/bin/env roc | ||
app "website-builder" | ||
packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.4.0-rc1/hbIodFf7kULTYZJkzgsvgsnFAvQexm5hVeBaOMZk84I.tar.br" } | ||
imports [ | ||
pf.Task.{ Task }, | ||
pf.Command, | ||
pf.Arg | ||
] | ||
provides [main] to pf | ||
|
||
main = | ||
# TODO take dist folder name and main.roc path as args once https://github.com/roc-lang/basic-cli/issues/82 is fixed | ||
# TODO add function to remove boilerplate | ||
# Remove dist folder | ||
{} <- | ||
Command.new "rm" | ||
|> Command.args ["-rf", "dist/"] | ||
|> Command.status | ||
|> Task.onErr \_ -> crash "Failed to remove dist folder" | ||
|> Task.await | ||
|
||
# Build site | ||
{} <- | ||
Command.new "roc" | ||
|> Command.args ["run", "main.roc", "--", "content/", "dist/"] | ||
|> Command.status | ||
|> Task.onErr \_ -> crash "Failed to build site" | ||
|> Task.await | ||
|
||
# Copy static files | ||
{} <- | ||
Command.new "cp" | ||
|> Command.args ["-r", "static/site.css", "dist/"] | ||
|> Command.status | ||
|> Task.onErr \_ -> crash "Failed to copy static files" | ||
|> Task.await | ||
|
||
# Start file server | ||
{} <- | ||
Command.new "simple-http-server" | ||
|> Command.args ["-p", "8080", "--", "dist/"] | ||
|> Command.status | ||
|> Task.onErr \_ -> crash "Failed to run file server; consider intalling with `cargo install simple-http-server`" | ||
|> Task.await | ||
|
||
Task.ok {} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Contribute to Roc | ||
|
||
## Community Values | ||
|
||
<!-- | ||
Work in Progress - Richard is developing this section | ||
|
||
Basically it will say something like we expect you to be kind, even if you think someone is being mean to you, don't assume ill intentions etc | ||
--> | ||
|
||
## Meet the Community | ||
|
||
- Group Chat [roc.zulipchat.com](https://roc.zulipchat.com/) | ||
- Github Project [roc-lang/roc](https://github.com/roc-lang/roc) | ||
- Meetups & Events | ||
|
||
## Ideas & Proposals | ||
|
||
- [Good First Issues](https://github.com/roc-lang/roc/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) | ||
|
||
<!-- | ||
In this section we want to explain the process, i.e. it's less formal | ||
|
||
TODO finish editing this section | ||
--> | ||
|
||
Roc doesn't have a formal process for managing design proposals. The guiding principal for now is that as a community we should all be friendly, supportive, and openly discuss and sharing ideas. | ||
|
||
There are three loose stages that a design proposal can go through in Roc: Idea, Proposal, and Implementation. | ||
|
||
In the Idea stage, people are encouraged to describe their idea and explore the problem, potential solutions, and trade-offs. It is helpful to share the idea in the group chat using the #ideas channel. | ||
|
||
If there is a general consensus that an idea is promising and worth developing, people are encouraged to develop a design Proposal. Some ideas are simple and should progress straight to implementation. However, for more complex Proposals a it write the design into an article or blog post and share it online. This documentation helps in clarifying the proposal and making it more accessible to the community. | ||
|
||
Implementation using PR... | ||
|
||
## Code of Conduct | ||
|
||
<!-- link to github goes here --> |
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lukewilliamboswell, I moved the build steps to this script, I really wanted to use arguments with the roc build script but couldn't due to roc-lang/basic-cli#82