The code for dzcode.io, a website for Algerian open-source community.
You can find more about each folder by clicking on the folder name
Folder | Production URL | Staging URL | Coverage |
---|---|---|---|
frontend | https://www.dzcode.io | https://staging.dzcode.io | |
data | https://data.dzcode.io | https://data.staging.dzcode.io | |
fullstack | N/A | N/A | |
api | WIP | WIP | WIP |
Make sure you have:
- Open terminal and clone the repo:
git clone https://github.com/dzcode-io/dzcode.io.git
- Make sure you are in the project root:
cd dzcode.io
- Install dependencies:
yarn
- Run it locally
yarn start
or with the api server (optional)
yarn start:api
-
Now, Go to http://localhost:8080
-
For api server, all emulators view status and logs at http://localhost:4000
To get started see the contributing guidelines.
Before You Create a Pull Request :
Please make sure your code follows the style guideline defined in this repo, for that simply run yarn lint:fix
to ensure the conformity. This process should happen automatically whenever you commit your changes, but you can always do it manually when your Pull Request checks are failing due to linting errors.
Articles on dzCode.io are found under the folder data/articles
.
To add new article let's say "Awesome New Article", simply do the following:
- Create a new folder
Awesome_New_Article
underdata/articles
- Add two files:
- Lastly, to make your article visible, modify the content of
data/articles/list.json
and add your article's folder nameAwesome_New_Article
inside the"items": []
array.
To test and see your article locally, make sure to you are all set, after you run dzCode locally go to http://localhost:8080/Articles/Awesome_New_Article, you will see your article, and you can continue editing from there, once you are happy with the result, create a pull request against master branch, and we will be happy to merge it 😃.
If you find a typo in any Article, or you find something that needs to be edited, please let us know, by applying the necessary modification, then create a pull request against master branch, and we will review it along with the article's author, then merge it.
Projects on dzCode.io are found under the folder data/projects
.
To add new project let's say "Awesome New Project", simply do the following:
- Create a new folder
Awesome_New_Project
underdata/projects
- Add
info.json
, a json file containing info about your project, like title, description etc..., see this file as an example. - Lastly, to make your project visible, modify the content of
data/projects/list.json
and add your project's folder nameAwesome_New_Project
inside the"items": []
array.
To test and see your project locally, make sure to you are all set, after you run dzCode locally go to http://localhost:8080/Projects/Awesome_New_Project, you will see your project, and you can continue editing from there, once you are happy with the result, create a pull request against master branch, and we will be happy to merge it 😃.
Copyright (c) 2020 dzCode.io (twitter: @dzcode_io) Licensed under the MIT license.