Skip to content

Website for Algerian open-source community.

License

Notifications You must be signed in to change notification settings

NurElHuda/dzcode.io

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dzCode.io

The code for dzcode.io, a website for Algerian open-source community.

Meta

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 codecov
data https://data.dzcode.io https://data.staging.dzcode.io codecov
fullstack N/A N/A codecov
api WIP WIP WIP

Table of Content

Get Started

Perquisites

Make sure you have:

Run it locally

  • 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

Contributing

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.

Add Your Own Article

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 under data/articles
  • Add two files:
    • info.json , a json file containing info about your article, like title, description etc..., see this file as an example.
    • content.md , a markdown file which contain your Article text, in form of markdown.
  • Lastly, to make your article visible, modify the content of data/articles/list.json and add your article's folder name Awesome_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 😃.

Fix Typos, or Edit existing Article

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.

Add Your Own Project

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 under data/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 name Awesome_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 😃.

License

Copyright (c) 2020 dzCode.io (twitter: @dzcode_io) Licensed under the MIT license.

About

Website for Algerian open-source community.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 83.4%
  • JavaScript 13.9%
  • Pug 1.4%
  • SCSS 1.3%