Directed by Dr. Alireza Manashty
Powered by Jekyll
- How can make a new blog post?
- How can make a new member page?
- How can setup and run code on my computer?
There are two method to run and start developing.
Make sure you already installed docker
and docker-compose
on your computer
and then run the command line below:
docker-compose up
- Firstly, Clone the repo on your computer; if you use CLI, run the command bellow!
git clone http://github.com/ur-datascience/ur-datascience.github.io
- Enter to the repo's directory!
cd ur-datascience.github.io
-
Now times to install requirements; if you already have any of them ignore that step!
- Install Ruby
brew update brew install ruby # If you use bash echo 'export PATH=/usr/local/Cellar/ruby/2.4.1_1/bin:$PATH' >> ~/.bash_profile # If you use ZSH: echo 'export PATH=/usr/local/Cellar/ruby/2.4.1_1/bin:$PATH' >> ~/.zprofile
This command use HomeBrew for other installation methods check here
- Install Jekyll:
gem install bundler jekyll
-
Install Gems requirements
bundle install
- Run the code by command bellow; your site will run on your ==localhost== port
4000
bundle exec jekyll serve
Open http://localhost:4000 on your browser
- Done 😊
To make a new post, follow the continuous steps.
- Create a new
.markdown
file in_blog
directory
Attention: The name of the file will be the URL of the post!
URDataScience.ca/blog/name_of_the_file
-
Copy content of the post_sample.markdown and paste it on your file
-
Fill the gaps, as the example's structure
-
Push(Save) it
Your post will appear on the website as soon as you push it.
To make a new member page, follow the continuous steps.
- Create a new
.markdown
file in_members
directory
Attention: The name of the file will be the URL of the page!
URDataScience.ca/members/name_of_the_file
-
Copy content of the member_sample.markdown and paste it on your file
-
Fill the gaps, as the example's structure
You can remove any part which is you don't need that
- Push(Save) it
Your page will appear on the website as soon as you push it.
TODO
GNU GENERAL PUBLIC LICENSE
- Recommended to use Jetbrains' application to work on project(Feel free it's just a recommendation)