- Navigate to your root directory using.
cd ~
- Create .bash_profile file using the command.
vi .bash_profile
- Add the following line substituting
${username}
with your folder name. (All lower case and single word)
export ZILKIE_USERNAME=${username}
Eg: ZILKIE_USERNAME=sampleuser
- Save the file and source it.
source .bash_profile
- Make sure the system variable is set. This should display the username you gave in step 3.
echo $ZILKIE_USERNAME
- Navigate to the root directory of the repository and use the following command to create a folder for yourself. Replace ${username} with the value used for
$ZILKIE_USERNAME
cp -r sampleuser/ ${username}
npm install
- To install the required dependenciesnpm run start
- To start the Server. You should now see your base HTML page.
- Create a separate folder with your exercise name inside your ${username} folder
- Create a
css
folder, ajs
folder, apages
folder and anindex.html
file inside it
Once you have completed your exercise and when you commit your code, a linter will run during commit to check for code styling errors. Clear all the errors to commit the code. Happy Coding..Peace.. :)